ankidroid / ankidroid/Anki-Android

Flaky test: checkIfClickOnCountsLayoutOpensStudyOptionsOnMobile

未关闭
#21,765 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。