android / android/android-test

UiScrollable getChildByText will not scroll lists with floating action buttons

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

### Description
When using UIScrollable getChildByText on a list view that has a floating action button that appears on scroll, the scroll will stop and return with UiObjectNotFoundException. From watching it looks as though the scroll event gets sent to the button and halts the process.

The easiest place to see it is in the Settings app, going to the Notifications menu and trying to scroll the listview there. If you manually scroll you can see the button that comes up bottom middle which appears to stop it from working.

Also observed in the samsung myFiles app as well if trying to scroll through the files list.

Not a major issue but have to use alternative functions to search lists that have a button come up like that.

androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
Tested on S7 android version 7.0

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the failure in the Android Settings app under Notifications, using UiScrollable.getChildByText on a list with a floating action button; the payload names no source file or test. Trace how the scroll event is handled when the button appears, and consider the issue done when the target can be found without UiObjectNotFoundException in the described cases.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.