Closed Bug 1815426 Opened 3 years ago Closed 2 years ago

Intermittent UI test failure - < SettingsPrivacyTest. verifyCookieBannerReductionTest >

Categories

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

Firefox 111
All
Android
defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- wontfix
firefox115 --- fixed
firefox116 --- fixed

People

(Reporter: ajoltan, Assigned: ajoltan)

References

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.assertTrue(Assert.java:53)
at org.mozilla.fenix.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:48)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:927)
at org.mozilla.fenix.ui.SettingsPrivacyTest$verifyCookieBannerReductionTest$3.invoke(SettingsPrivacyTest.kt:624)
at org.mozilla.fenix.ui.SettingsPrivacyTest$verifyCookieBannerReductionTest$3.invoke(SettingsPrivacyTest.kt:622)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:138)
at org.mozilla.fenix.ui.SettingsPrivacyTest.verifyCookieBannerReductionTest(SettingsPrivacyTest.kt:622)

Build: 2/7 Main

Severity: -- → S4
Priority: -- → P3
Version: unspecified → Firefox 111

Flaky 1x on 3/14 Main 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.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:51)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:980)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:28)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:26)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:140)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:26)

Flaky 1x on 3/16 Main 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.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:51)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:992)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:27)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:25)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:140)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:25)

Blocks: 1828201

Flaky 1x on 4/18 Main 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.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:51)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:1019)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:27)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:25)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:140)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:25)

Flaky 1x on 5/2 Main 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.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:54)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:756)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:27)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:25)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:140)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:25)

Flaky 1x on 5/8 Main 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.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:54)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:762)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:27)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$3.invoke(CookieBannerReductionTest.kt:25)
at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:140)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:25)

See Also: → 1807440

Seems to be cause by 1807440

Flaky 1x on 5/17 Main 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.assertFalse(Assert.java:65)
at org.junit.Assert.assertFalse(Assert.java:75)
at org.mozilla.fenix.helpers.MatcherHelper.assertItemWithResIdExists(MatcherHelper.kt:59)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyCookieBannerExists(BrowserRobot.kt:763)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$15.invoke(CookieBannerReductionTest.kt:62)
at org.mozilla.fenix.ui.CookieBannerReductionTest$verifyCookieBannerReductionTest$15.invoke(CookieBannerReductionTest.kt:61)
at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.refreshPage(ThreeDotMenuMainRobot.kt:313)
at org.mozilla.fenix.ui.CookieBannerReductionTest.verifyCookieBannerReductionTest(CookieBannerReductionTest.kt:61)

Depends on: 1833933

Turning off in bug 1833933. I didn't see it fail, but it's likely too as the other test did in the same Class with commit https://github.com/mozilla-mobile/firefox-android/commit/8c414a423774576a762d90f6a3c67761daee73c5

Keywords: test-disabled

Fixed with #2104

Status: NEW → RESOLVED
Closed: 2 years ago
Keywords: test-disabled
Resolution: --- → FIXED

► 6/15 Firebase link

► 6/16 Failed 1x
Firebase link
Firebase link

► 6/18 Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[CONTAINS_DESCRIPTION=Refresh]

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: nobody → ajoltan
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.