android / android/android-test

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

Ouverte
#1,655 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
1.2k
Forks
342
Merge moyen
11 h 29 min
PR mergées (30 j)
2

Description

### 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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, java
Domaine
mobile, testing
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.