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.11k stars 711 forks source link

Intermittent UI test failure - DownloadFileTest tests - no download prompt #7742

Closed AndiAJ closed 1 year ago

AndiAJ commented 2 years ago

cancelDownloadTest Firebase Test Run: Firebase link

Stacktrace:

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=download] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.focus.activity.robots.DownloadRobot.clickDownloadIconAsset(DownloadRobot.kt:31) at org.mozilla.focus.activity.DownloadFileTest$cancelDownloadTest$3.invoke(DownloadFileTest.kt:108) at org.mozilla.focus.activity.DownloadFileTest$cancelDownloadTest$3.invoke(DownloadFileTest.kt:107) at org.mozilla.focus.activity.robots.DownloadRobotKt.downloadRobot(DownloadRobot.kt:67) at org.mozilla.focus.activity.DownloadFileTest.cancelDownloadTest(DownloadFileTest.kt:107)

Build: 9/24

sv-ohorvath commented 2 years ago

Caused by this issue: https://github.com/mozilla-mobile/focus-android/issues/7720

sv-ohorvath commented 2 years ago

downloadAndOpenJpgFileTest Failing and flaky on Main Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=download] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.focus.activity.robots.DownloadRobot.clickDownloadIconAsset(DownloadRobot.kt:31) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:129) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:128) at org.mozilla.focus.activity.robots.DownloadRobotKt.downloadRobot(DownloadRobot.kt:67) at org.mozilla.focus.activity.DownloadFileTest.downloadAndOpenJpgFileTest(DownloadFileTest.kt:128)

sv-ohorvath commented 2 years ago

downloadNotificationTest Failing and flaky on Main Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=download] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.focus.activity.robots.DownloadRobot.clickDownloadIconAsset(DownloadRobot.kt:31) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:129) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:128) at org.mozilla.focus.activity.robots.DownloadRobotKt.downloadRobot(DownloadRobot.kt:67) at org.mozilla.focus.activity.DownloadFileTest.downloadAndOpenJpgFileTest(DownloadFileTest.kt:128)

AndiAJ commented 2 years ago

downloadAndOpenJpgFileTest flaky 1x on 10/6 Main Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=download] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.focus.activity.robots.DownloadRobot.clickDownloadIconAsset(DownloadRobot.kt:31) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:129) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:128) at org.mozilla.focus.activity.robots.DownloadRobotKt.downloadRobot(DownloadRobot.kt:67) at org.mozilla.focus.activity.DownloadFileTest.downloadAndOpenJpgFileTest(DownloadFileTest.kt:128)

AndiAJ commented 2 years ago

downloadAndOpenJpgFileTest flaky 1x on 10/7 Main Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=download] at androidx.test.uiautomator.UiObject.click(UiObject.java:416) at org.mozilla.focus.activity.robots.DownloadRobot.clickDownloadIconAsset(DownloadRobot.kt:31) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:129) at org.mozilla.focus.activity.DownloadFileTest$downloadAndOpenJpgFileTest$3.invoke(DownloadFileTest.kt:128) at org.mozilla.focus.activity.robots.DownloadRobotKt.downloadRobot(DownloadRobot.kt:67) at org.mozilla.focus.activity.DownloadFileTest.downloadAndOpenJpgFileTest(DownloadFileTest.kt:128)

sv-ohorvath commented 1 year ago

Hasn't failed in a month, closing for now.