mozilla-mobile / focus-android

⚠️ Firefox Focus (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
2.1k stars 711 forks source link

Intermittent UI test failure - < MultitaskingTest. testVisitingMultipleSites > #7745

Closed AndiAJ closed 2 years ago

AndiAJ commented 2 years ago

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[TEXT=Tab 2] at androidx.test.uiautomator.UiObject.longClick(UiObject.java:528) at org.mozilla.focus.activity.robots.BrowserRobot.longPressLink(BrowserRobot.kt:117) at org.mozilla.focus.activity.MultitaskingTest$testVisitingMultipleSites$2.invoke(MultitaskingTest.kt:82) at org.mozilla.focus.activity.MultitaskingTest$testVisitingMultipleSites$2.invoke(MultitaskingTest.kt:80) at org.mozilla.focus.activity.robots.SearchRobot$Transition.loadPage(SearchRobot.kt:97) at org.mozilla.focus.activity.MultitaskingTest.testVisitingMultipleSites(MultitaskingTest.kt:80)

Build: 9/24 Main

AndiAJ commented 2 years ago

Flaky 1x on 9/26 Main Firebase link

java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at org.mozilla.focus.helpers.TestHelper.verifySnackBarText(TestHelper.kt:83) at org.mozilla.focus.activity.MultitaskingTest$testVisitingMultipleSites$6.invoke(MultitaskingTest.kt:101) at org.mozilla.focus.activity.MultitaskingTest$testVisitingMultipleSites$6.invoke(MultitaskingTest.kt:100) at org.mozilla.focus.activity.robots.BrowserRobot$Transition.clearBrowsingData(BrowserRobot.kt:449) at org.mozilla.focus.activity.MultitaskingTest.testVisitingMultipleSites(MultitaskingTest.kt:100)