mozilla-mobile / fenix

⚠️ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
6.49k stars 1.27k forks source link

Intermittent UI test failure - < PwaTest. externalLinkPWATest > #25832

Closed AndiAJ closed 2 years ago

AndiAJ commented 2 years ago

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[CONTAINS_TEXT=External link] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.fenix.ui.robots.BrowserRobot.clickLinkMatchingText(BrowserRobot.kt:321) at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$5.invoke(PwaTest.kt:51) at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$5.invoke(PwaTest.kt:50) at org.mozilla.fenix.ui.robots.AddToHomeScreenRobot$Transition.openHomeScreenShortcut(AddToHomeScreenRobot.kt:81) at org.mozilla.fenix.ui.PwaTest.externalLinkPWATest(PwaTest.kt:50)

Build: 6/30 Main

Notes: Similar with #25992 & #25710

┆Issue is synchronized with this Jira Task

sv-ohorvath commented 2 years ago

Flaky on 7/7 main: https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/7375373802569901838/details?stepId=bs.a47fda53d9b1a525&testCaseId=1

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[TEXT=Install] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.clickInstall(ThreeDotMenuMainRobot.kt:339) at org.mozilla.fenix.ui.PwaTest.externalLinkPWATest(PwaTest.kt:48)