Closed Bug 1808505 Opened 2 years ago Closed 9 days ago

Intermittent UI test failure - < EnhancedTrackingProtectionTest. verifyTrackersBlockedWithStrictTPTest >

Categories

(Fenix :: UI Tests, defect)

All
Android
defect

Tracking

(firefox119 unaffected, firefox120 unaffected, firefox121 wontfix, firefox122 unaffected, firefox123 unaffected, firefox124 wontfix, firefox126 unaffected, firefox127 unaffected, firefox128 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox119 --- unaffected
firefox120 --- unaffected
firefox121 --- wontfix
firefox122 --- unaffected
firefox123 --- unaffected
firefox124 --- wontfix
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 --- wontfix

People

(Reporter: ajoltan, Unassigned)

Details

(Keywords: intermittent-failure)

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[CONTAINS_DESCRIPTION=Refresh]
at androidx.test.uiautomator.UiObject.click(UiObject.java:416)
at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.refreshPage(ThreeDotMenuMainRobot.kt:293)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyTrackingProtectionWebContent(BrowserRobot.kt:648)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testStrictVisitSheetDetails$5.invoke(EnhancedTrackingProtectionTest.kt:183)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testStrictVisitSheetDetails$5.invoke(EnhancedTrackingProtectionTest.kt:182)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:138)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.testStrictVisitSheetDetails(EnhancedTrackingProtectionTest.kt:182)

Build: 1/3Main

Closing, as it didn't fail for a month.

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

► 11/8 Firebase link

java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at org.mozilla.fenix.ui.robots.BrowserRobot.verifyTrackingProtectionWebContent(BrowserRobot.kt:574)

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Summary: Intermittent UI test failure - < EnhancedTrackingProtectionTest. testStrictVisitSheetDetails > → Intermittent UI test failure - < EnhancedTrackingProtectionTest. verifyTrackersBlockedWithStrictTPTest >
Severity: -- → N/A

► 2/6 Firebase link

`java.lang.AssertionError: UiSelector[CONTAINS_TEXT=social blocked] does not exist
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:99)
at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyTrackingProtectionWebContent(BrowserRobot.kt:530)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$verifyTrackersBlockedWithStrictTPTest$8.invoke(EnhancedTrackingProtectionTest.kt:303)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$verifyTrackersBlockedWithStrictTPTest$8.invoke(EnhancedTrackingProtectionTest.kt:302)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:156)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.verifyTrackersBlockedWithStrictTPTest(EnhancedTrackingProtectionTest.kt:302)

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