Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Flaky test: checkIfClickOnCountsLayoutOpensStudyOptionsOnMobile

Open david-allison opened this issue 2 months ago • 2 comments

com.ichi2.anki.DeckPickerTest > checkIfClickOnCountsLayoutOpensStudyOptionsOnMobile[emulator-5554 - 16] FAILED 
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@40aa110, window-token=android.view.ViewRootImpl$W@40aa110, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} layoutInDisplayCutoutMode=always ty=BASE_APPLICATION fmt=RGBA_8888 wanim=0x103030e
emulator-5554 - 16 Tests 7/336 completed. (1 skipped) (1 failed)

https://github.com/ankidroid/Anki-Android/actions/runs/33992049749/job/101375932873?pr=21741

david-allison avatar Sep 06 '26 19:09 david-allison

hi, i would like to work on this issue, if it is open to work could you assign it to me?

Ratnesh5 avatar Sep 13 '26 08:09 Ratnesh5

Sure! Thanks

david-allison avatar Sep 13 '26 10:09 david-allison