Closed Bug 1859489 Opened 1 year ago Closed 4 months ago

Intermittent UI test failure - < SettingsSearchTest. verifyLearnMoreLinksFromAddSearchEngineSectionTest >

Categories

(Fenix :: UI Tests, defect, P3)

Firefox 120
All
Android
defect

Tracking

(firefox120 wontfix, firefox122 unaffected, firefox123 unaffected, firefox124 wontfix, firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox120 --- wontfix
firefox122 --- unaffected
firefox123 --- unaffected
firefox124 --- wontfix
firefox128 --- fixed

People

(Reporter: ajoltan, Assigned: ohorvath)

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

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:82)
at org.mozilla.fenix.ui.SettingsSearchTest$verifyLearnMoreLinksFromAddSearchEngineSectionTest$9.invoke(SettingsSearchTest.kt:286)
at org.mozilla.fenix.ui.SettingsSearchTest$verifyLearnMoreLinksFromAddSearchEngineSectionTest$9.invoke(SettingsSearchTest.kt:285)
at org.mozilla.fenix.ui.robots.SettingsSubMenuSearchRobot$Transition.clickCustomSearchSuggestionsLearnMoreLink(SettingsSubMenuSearchRobot.kt:385)
at org.mozilla.fenix.ui.SettingsSearchTest.verifyLearnMoreLinksFromAddSearchEngineSectionTest(SettingsSearchTest.kt:285)

Build: 10/16 Main

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE

► 2/6 Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[INDEX=1, CHILD=UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/top_site_title], RESOURCE_ID=org.mozilla.fenix.debug:id/top_site_item] at androidx.test.uiautomator.UiObject.getText(UiObject.java:564) at org.mozilla.fenix.helpers.DataGenerationHelper.getSponsoredShortcutTitle(DataGenerationHelper.kt:89)

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 11 months ago7 months ago
Resolution: --- → INCOMPLETE

Started failing on 5/29 with '429 Too many requests'
Firebase link
similar issue in Bug 1899659 & Bug 1896363

java.lang.AssertionError: UiSelector[CONTAINS_TEXT=support.mozilla.org/en-US/kb/manage-my-default-search-engines-firefox-android?as=u&utm_source=inproduct, 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:103)
at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:85)
at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:384)
at org.mozilla.fenix.ui.robots.BrowserRobot.verifyUrl(BrowserRobot.kt:85)
at org.mozilla.fenix.ui.SettingsSearchTest$verifyLearnMoreLinksFromAddSearchEngineSectionTest$5.invoke(SettingsSearchTest.kt:274)
at org.mozilla.fenix.ui.SettingsSearchTest$verifyLearnMoreLinksFromAddSearchEngineSectionTest$5.invoke(SettingsSearchTest.kt:273)
at org.mozilla.fenix.ui.robots.SettingsSubMenuSearchRobot$Transition.clickCustomSearchStringLearnMoreLink(SettingsSubMenuSearchRobot.kt:494)
at org.mozilla.fenix.ui.SettingsSearchTest.verifyLearnMoreLinksFromAddSearchEngineSectionTest(SettingsSearchTest.kt:273)
Severity: S3 → S4
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Assignee: nobody → ohorvath
Pushed by ohorvath@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/656403fa37e3 Disable perma failing test verifyLearnMoreLinksFromAddSearchEngineSectionTest r=aaronmt
Status: REOPENED → RESOLVED
Closed: 7 months ago4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Pushed by ohorvath@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55931677182e Fix tests with redirected SUMO URLs r=ajoltan

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: