Closed Bug 1874116 Opened 2 years ago Closed 1 year ago

Intermittent UI test failure - < TopSitesTest.openTopSiteInANewPrivateTabTest >

Categories

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

Firefox 123
All
Android
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox123 --- wontfix
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 --- wontfix
firefox142 --- wontfix

People

(Reporter: ajoltan, Unassigned)

References

Details

(Keywords: intermittent-failure)

Firebase Test Run: Firebase link

Stacktrace:

java.lang.AssertionError: Current session is private
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCurrentPrivateSession(BrowserRobot.kt:77)
at org.mozilla.fenix.ui.TopSitesTest$openTopSiteInANewPrivateTabTest$7.invoke(TopSitesTest.kt:123)
at org.mozilla.fenix.ui.TopSitesTest$openTopSiteInANewPrivateTabTest$7.invoke(TopSitesTest.kt:122)
at org.mozilla.fenix.ui.robots.HomeScreenRobot$Transition.openTopSiteInPrivateTab(HomeScreenRobot.kt:622)
at org.mozilla.fenix.ui.TopSitesTest.openTopSiteInANewPrivateTabTest(TopSitesTest.kt:122)

Build: 1/10 Main

► 1/10 Firebase link

► 1/11 Firebase link

► 1/12 Firebase link

Still a lot of flakiness, 1/13-1/15, caused by Bug 1861459.
Firebase link

Flaky on 1/18, same issue: Firebase link

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

► 5/13 Firebase link

androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: '(view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Page_1")' doesn't match the selected view. Expected: (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Page_1") Got: no descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Page_1" was found View Details: RecyclerView{id=2131297769, res-name=top_sites_list, visibility=VISIBLE, width=996, height=296, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3} at dalvik.system.VMStack.getThreadStackTrace(Native Method) at java.lang.Thread.getStackTrace(Thread.java:1736) at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:3) at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:1) at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4) at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5) at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:5) at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:12) at org.mozilla.fenix.ui.robots.HomeScreenRobot.verifyExistingTopSitesTabs(HomeScreenRobot.kt:375)

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

► 8/4 mozilla-beta Firebase link

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