android / android/android-test

Web.WebInteraction<Void> Espresso UI tests in WebView does not fire change event

Aperta
#1,655 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
1.2k
Fork
342
Merge medio
11h 29m
PR unite (30g)
2

Descrizione

### While filling the textfield with autoamation, javascript does not capture focus/blur/change events in browsers, looks like
onWebView().perform(DriverAtoms.webKeys("text_here")); does not fire the events so js unable to capture it.

### html page with editbox and js on editbox to capture input filled.

### onWebView().perform(DriverAtoms.webKeys("text_here")); should fire the change event

### As of now, it is not firing the change event

### 'androidx.test.espresso:espresso-web:3.4.0'/Android OS 12 & 13

### NA

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue with androidx.test.espresso:espresso-web:3.4.0 on Android 12 or 13, using onWebView().perform(DriverAtoms.webKeys("text_here")) against an HTML editbox with JavaScript event handlers. Check whether focus, blur, and change events fire, and compare the observed behavior with the expected change event after text entry.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile, testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.