Closed Bug 1874115 Opened 2 years ago Closed 6 months ago

Intermittent UI test failure - < RecentlyClosedTabsTest.openRecentlyClosedTabsInPrivateBrowsingTest >

Categories

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

Firefox 123
All
Android
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox123 --- wontfix
firefox124 --- unaffected
firefox125 --- wontfix
firefox128 --- wontfix
firefox129 --- unaffected
firefox130 --- unaffected
firefox142 --- unaffected
firefox143 --- unaffected
firefox144 --- wontfix

People

(Reporter: ajoltan, Unassigned)

Details

(Keywords: intermittent-failure)

Firebase Test Run: Firebase link

Stacktrace:

java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertNotNull(Assert.java:713)
at org.junit.Assert.assertNotNull(Assert.java:723)
at org.mozilla.fenix.helpers.ext.WaitNotNullKt.waitNotNull(WaitNotNull.kt:24)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyPageContent(BrowserRobot.kt:112)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12$1.invoke(RecentlyClosedTabsTest.kt:178)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12$1.invoke(RecentlyClosedTabsTest.kt:177)
at org.mozilla.fenix.ui.robots.BrowserRobotKt.browserScreen(BrowserRobot.kt:1199)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12.invoke(RecentlyClosedTabsTest.kt:177)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12.invoke(RecentlyClosedTabsTest.kt:175)
at org.mozilla.fenix.ui.robots.RecentlyClosedTabsRobot$Transition.clickOpenInPrivateTab(RecentlyClosedTabsRobot.kt:99)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest.openRecentlyClosedTabsInPrivateBrowsingTest(RecentlyClosedTabsTest.kt:175)

Build: 1/10 Main

► 1/12 Firebase link

`java.lang.AssertionError: Failed to assert the following: (Selected = 'true')
Semantics of the node:
Node #402 at (l=180.0, t=699.0, r=360.0, b=909.0)px, Tag: 'tabstray.banner.privateTabsPageButton'
Selected = 'false'
Role = 'Tab'
Focused = 'false'
ContentDescription = '[Private tabs]'
Actions = [OnClick, RequestFocus]
MergeDescendants = 'true'
Has 2 siblings
Selector used: (TestTag = 'tabstray.banner.privateTabsPageButton')

at androidx.compose.ui.test.AssertionsKt.assert(Assertions.kt:270)
at androidx.compose.ui.test.AssertionsKt.assert$default(Assertions.kt:260)
at androidx.compose.ui.test.AssertionsKt.assertIsSelected(Assertions.kt:89)
at org.mozilla.fenix.ui.robots.ComposeTabDrawerRobot.verifyPrivateBrowsingButtonIsSelected(ComposeTabDrawerRobot.kt:73)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12$2.invoke(RecentlyClosedTabsTest.kt:181)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12$2.invoke(RecentlyClosedTabsTest.kt:180)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openComposeTabDrawer(BrowserRobot.kt:992)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12.invoke(RecentlyClosedTabsTest.kt:180)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12.invoke(RecentlyClosedTabsTest.kt:175)
at org.mozilla.fenix.ui.robots.RecentlyClosedTabsRobot$Transition.clickOpenInPrivateTab(RecentlyClosedTabsRobot.kt:99)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest.openRecentlyClosedTabsInPrivateBrowsingTest(RecentlyClosedTabsTest.kt:175)`

► 1/15 Firebase link

at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertNotNull(Assert.java:713)
at org.junit.Assert.assertNotNull(Assert.java:723)
at org.mozilla.fenix.helpers.ext.WaitNotNullKt.waitNotNull(WaitNotNull.kt:24)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyPageContent(BrowserRobot.kt:112)
at org.mozilla.fenix.ui.RecentlyClosedTabsTest$openRecentlyClosedTabsInPrivateBrowsingTest$12$1.invoke(RecentlyClosedTabsTest.kt:178)

Probably caused by https://github.com/mozilla-mobile/firefox-android/pull/4646.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE

Flaky again on 2/23, the long-click on the second item, Page_2, did not work correctly. Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE

► 7/19 Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → INCOMPLETE

► 9/09 autoland Firebase link

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