Closed Bug 1918433 Opened 1 year ago Closed 17 days ago

Intermittent org.mozilla.fenix.ui.DownloadTest#systemNotificationCantBeDismissedWhileInProgressTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=CANCEL, RESOURCE_ID=android:id/action0] does not exist

Categories

(Firefox for Android :: UI Tests, defect, P5)

All
Android
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox152 --- unaffected
firefox153 --- unaffected
firefox154 --- wontfix
firefox155 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=474031880&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WUu1H8HVQIKuCmWjXR44hQ/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-12T14:29:13.682Z]   Shard 99: Expected: 0s, Actual: 83s, Diff: 83s
[task 2024-09-12T14:29:13.682Z] 
[task 2024-09-12T14:29:13.682Z] 
[task 2024-09-12T14:29:13.682Z] Command /usr/bin/java -jar /builds/worker/test-tools/flank.jar android run --config ./automation/taskcluster/androidTest/flank-arm64-v8a.yml --app /builds/worker/checkouts/gecko/mobile/android/fenix/app.apk --local-result-dir /builds/worker/artifacts/results --project moz-fenix --client-details matrixLabel=autoland --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2024-09-12T14:29:13.748Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.DownloadTest#systemNotificationCantBeDismissedWhileInProgressTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=CANCEL, RESOURCE_ID=android:id/action0] does not exist
[task 2024-09-12T14:29:13.748Z]  at org.junit.Assert.fail(Assert.java:89)
[task 2024-09-12T14:29:13.748Z]  at org.junit.Assert.assertTrue(Assert.java:42)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.NotificationRobot.clickDownloadNotificationControlButton(NotificationRobot.kt:94)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest$systemNotificationCantBeDismissedWhileInProgressTest$3.invoke(DownloadTest.kt:250)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest$systemNotificationCantBeDismissedWhileInProgressTest$3.invoke(DownloadTest.kt:244)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openNotificationShade(BrowserRobot.kt:1165)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest.systemNotificationCantBeDismissedWhileInProgressTest(DownloadTest.kt:244)
[task 2024-09-12T14:29:13.748Z] 
[task 2024-09-12T14:29:13.748Z]     
[task 2024-09-12T14:29:13.748Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.DownloadTest#systemNotificationCantBeDismissedWhileInProgressTest | androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=com.android.systemui:id/notification_stack_scroller]
[task 2024-09-12T14:29:13.748Z]  at androidx.test.uiautomator.UiScrollable.scrollForward(UiScrollable.java:353)
[task 2024-09-12T14:29:13.748Z]  at androidx.test.uiautomator.UiScrollable.scrollToEnd(UiScrollable.java:518)
[task 2024-09-12T14:29:13.748Z]  at androidx.test.uiautomator.UiScrollable.scrollToEnd(UiScrollable.java:535)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.NotificationRobotKt.scrollToEnd(NotificationRobot.kt:286)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.NotificationRobotKt.access$scrollToEnd(NotificationRobot.kt:1)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.NotificationRobot.expandNotificationMessage(NotificationRobot.kt:137)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest$systemNotificationCantBeDismissedWhileInProgressTest$3.invoke(DownloadTest.kt:246)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest$systemNotificationCantBeDismissedWhileInProgressTest$3.invoke(DownloadTest.kt:244)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openNotificationShade(BrowserRobot.kt:1165)
[task 2024-09-12T14:29:13.748Z]  at org.mozilla.fenix.ui.DownloadTest.systemNotificationCantBeDismissedWhileInProgressTest(DownloadTest.kt:244)

The Bugbug bot thinks this bug should belong to the 'Fenix::UI Tests' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → UI Tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE

► 07/14 mozilla-central Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

► 07/28 autoland Firebase link

Status: REOPENED → RESOLVED
Closed: 1 year ago17 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.