Closed Bug 1864598 Opened 2 years ago Closed 9 months ago

Intermittent UI test failure - < EnhancedTrackingProtectionTest. testETPSettingsItemsAndSubMenus >

Categories

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

Firefox 121
All
Android
defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox121 --- wontfix
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- unaffected
firefox132 --- wontfix
firefox137 --- unaffected
firefox138 --- unaffected
firefox139 --- wontfix
firefox141 --- wontfix
firefox144 --- unaffected
firefox145 --- wontfix
firefox146 --- unaffected
firefox147 --- unaffected
firefox148 --- unaffected
firefox149 --- fixed

People

(Reporter: ajoltan, Assigned: ajoltan)

Details

(Keywords: intermittent-failure)

Attachments

(1 external file)

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.ui.robots.BrowserRobot.verifyUrl(BrowserRobot.kt:87)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testETPSettingsItemsAndSubMenus$6.invoke(EnhancedTrackingProtectionTest.kt:97)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testETPSettingsItemsAndSubMenus$6.invoke(EnhancedTrackingProtectionTest.kt:96)
at org.mozilla.fenix.ui.robots.BrowserRobotKt.browserScreen(BrowserRobot.kt:1330)
at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.testETPSettingsItemsAndSubMenus(EnhancedTrackingProtectionTest.kt:96)

Build: 11/14 Main

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

► 5/17 testETPSettingsItemsAndSubMenus Firebase link

java.lang.AssertionError: UiSelector[CONTAINS_TEXT=support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-android, RESOURCE_ID=org.mozilla.fenix.debug:id/mozac_browser_toolbar_url_view] 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:100) at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92) at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:101) at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:83) at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:384) at org.mozilla.fenix.ui.robots.BrowserRobot.verifyUrl(BrowserRobot.kt:83) at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testETPSettingsItemsAndSubMenus$6.invoke(EnhancedTrackingProtectionTest.kt:82) at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$testETPSettingsItemsAndSubMenus$6.invoke(EnhancedTrackingProtectionTest.kt:81) at org.mozilla.fenix.ui.robots.BrowserRobotKt.browserScreen(BrowserRobot.kt:1330) at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.testETPSettingsItemsAndSubMenus(EnhancedTrackingProtectionTest.kt:81)

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

► 6/24 testETPSettingsItemsAndSubMenus Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

► 7/16 autoland Firebase link

androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: '(view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() to return non-empty rectangle)' doesn't match the selected view. Expected: (view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() to return non-empty rectangle) Got: view.getGlobalVisibleRect() returned empty rectangle View Details: AppCompatImageView{id=2131297045, res-name=info_button, desc=What’s blocked by custom tracking protection, visibility=VISIBLE, width=63, height=63, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=967.0, y=79.0} at dalvik.system.VMStack.getThreadStackTrace(Native Method) at java.lang.Thread.getStackTrace(Thread.java:1736) at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:35) at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:26) at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158) at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120) at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:387) at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366) at org.mozilla.fenix.ui.robots.SettingsSubMenuEnhancedTrackingProtectionRobot.verifyCustomTrackingProtectionSettings(SettingsSubMenuEnhancedTrackingProtectionRobot.kt:176)

►7/29 autoland Firebase link

java.lang.AssertionError: UiSelector[CONTAINS_TEXT=support.mozilla.org/1/mobile/1.0.2431/Android/en-US/enhanced-tracking-protection-android, RESOURCE_ID=org.mozilla.fenix.debug:id/mozac_browser_toolbar_url_view] 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:100) at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92) at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:112) at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:94) at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:401) at org.mozilla.fenix.ui.robots.BrowserRobot.verifyUrl(BrowserRobot.kt:94) at org.mozilla.fenix.ui.robots.BrowserRobot.verifyETPLearnMoreURL(BrowserRobot.kt:167)

► 8/27 autoland Firebase link

► 9/12 autoland
Firebase link
Firebase link

► 9/20 autoland - experimental-arm - Firebase link

► 9/23 mozilla-central Firebase link

► 9/23 autoland - experimental-arm - Firebase link

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

9/30 ui-test-arm-fenix: link

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

► 4/1 autoland Firebase link

► 4/12 autoland Firebase link

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

► 7/22 mozilla-release
Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
Resolution: --- → INCOMPLETE

► 10/21 mozilla-beta Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
Resolution: --- → INCOMPLETE

► 12/17 mozilla-beta Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago → 10 months ago
Resolution: --- → INCOMPLETE

► 01/26 mozilla-central failure Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

► 01/27 mozilla-central detekt-leaks failure Firebase link

Assignee: nobody → ajoltan
Attachment #9544167 - Attachment description: WIP: Bug 1864598 - Fix testETPSettingsItemsAndSubMenus UI test → Bug 1864598 - Fix testETPSettingsItemsAndSubMenus UI test
Status: REOPENED → RESOLVED
Closed: 10 months ago → 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: