Closed Bug 1921939 Opened 2 years ago Closed 2 years ago

Perma org.mozilla.fenix.ui.MainMenuTest#homeMainMenuItemsTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Desktop site] does not exist

Categories

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

All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1921359
Tracking Status
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- affected

People

(Reporter: intermittent-bug-filer, Assigned: ohorvath)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2024-10-01T05:13:52.968Z] Command /usr/bin/java -jar /builds/worker/test-tools/flank.jar android run --config ./automation/taskcluster/androidTest/flank-arm-experimental-api-tests.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-10-01T05:13:53.021Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.MainMenuTest#homeMainMenuItemsTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Desktop site] does not exist
[task 2024-10-01T05:13:53.021Z]  at org.junit.Assert.fail(Assert.java:89)
[task 2024-10-01T05:13:53.021Z]  at org.junit.Assert.assertTrue(Assert.java:42)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot.verifyHomeThreeDotMainMenuItems(ThreeDotMenuMainRobot.kt:202)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.ui.MainMenuTest$homeMainMenuItemsTest$2.invoke(MainMenuTest.kt:69)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.ui.MainMenuTest$homeMainMenuItemsTest$2.invoke(MainMenuTest.kt:68)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.ui.robots.HomeScreenRobot$Transition.openThreeDotMenu(HomeScreenRobot.kt:681)
[task 2024-10-01T05:13:53.021Z]  at org.mozilla.fenix.ui.MainMenuTest.homeMainMenuItemsTest(MainMenuTest.kt:68)
[task 2024-10-01T05:13:53.021Z] 
[task 2024-10-01T05:13:53.021Z]     
[task 2024-10-01T05:13:53.021Z] ╔══════════════════════════════════════════════════════════╤═════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2024-10-01T05:13:53.021Z] ║ UI Test                                                  │ Outcome │ Details                                                                                                                    ║
[task 2024-10-01T05:13:53.021Z] ╟──────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2024-10-01T05:13:53.021Z] ║ org.mozilla.fenix.ui.LoginsTest#verifyEditLoginsViewTest │ Flaky   │ androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[CONTAINS_DESCRIPTION=Refresh]                              ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)                                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.refreshPage(ThreeDotMenuMainRobot.kt:440)                 ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.robots.BrowserRobotKt.setPageObjectText(BrowserRobot.kt:1443)                                     ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.LoginsTest$verifyEditLoginsViewTest$2.invoke(LoginsTest.kt:283)                                   ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.LoginsTest$verifyEditLoginsViewTest$2.invoke(LoginsTest.kt:282)                                   ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:226) ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.LoginsTest.verifyEditLoginsViewTest(LoginsTest.kt:282)                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │                                                                                                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │                                                                                                                            ║
[task 2024-10-01T05:13:53.021Z] ╟──────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2024-10-01T05:13:53.021Z] ║ org.mozilla.fenix.ui.MainMenuTest#homeMainMenuItemsTest  │ Failure │ java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Desktop site] does not exist                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                  ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)                                     ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)                              ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot.verifyHomeThreeDotMainMenuItems(ThreeDotMenuMainRobot.kt:202)        ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.MainMenuTest$homeMainMenuItemsTest$2.invoke(MainMenuTest.kt:69)                                   ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.MainMenuTest$homeMainMenuItemsTest$2.invoke(MainMenuTest.kt:68)                                   ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.robots.HomeScreenRobot$Transition.openThreeDotMenu(HomeScreenRobot.kt:681)                        ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │  at org.mozilla.fenix.ui.MainMenuTest.homeMainMenuItemsTest(MainMenuTest.kt:68)                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │                                                                                                                            ║
[task 2024-10-01T05:13:53.021Z] ║                                                          │         │                                                                                                                            ║
[task 2024-10-01T05:13:53.021Z] ╚══════════════════════════════════════════════════════════╧═════════╧════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2024-10-01T05:13:53.021Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2024-10-01 05:13:53.320Z] === Task Finished ===
[taskcluster 2024-10-01 05:14:13.267Z] Unsuccessful task run with exit code: 10 completed in 856.058 seconds

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
Keywords: regression
Regressed by: 1921121

Can simply adjust the verifyHomeThreeDotMainMenuItems function to remove the desktop site toggle check alongside desktopSiteToggle removal

Assignee: nobody → ohorvath
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1921121

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1921359
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.