Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Intermittent UI test failure - < DownloadTest. testDownloadCompleteNotification > #25002

Closed
AndiAJ opened this issue Apr 28, 2022 · 3 comments
Closed
Labels
eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests

Comments

@AndiAJ
Copy link
Collaborator

AndiAJ commented Apr 28, 2022

Firebase Test Run: Firebase link

Stacktrace:

java.lang.AssertionError: Download prompt button not visible
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.mozilla.fenix.ui.robots.DownloadRobotKt.assertDownloadPrompt(DownloadRobot.kt:136)
at org.mozilla.fenix.ui.robots.DownloadRobotKt.access$assertDownloadPrompt(DownloadRobot.kt:1)
at org.mozilla.fenix.ui.robots.DownloadRobot.verifyDownloadPrompt(DownloadRobot.kt:41)
at org.mozilla.fenix.ui.DownloadTest$testDownloadCompleteNotification$3.invoke(DownloadTest.kt:105)
at org.mozilla.fenix.ui.DownloadTest$testDownloadCompleteNotification$3.invoke(DownloadTest.kt:104)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.clickDownloadLink(BrowserRobot.kt:776)
at org.mozilla.fenix.ui.DownloadTest.testDownloadCompleteNotification(DownloadTest.kt:104)

Build: 4/28 Main

┆Issue is synchronized with this Jira Task

@AndiAJ AndiAJ added eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests labels Apr 28, 2022
@github-actions github-actions bot added the needs:triage Issue needs triage label Apr 28, 2022
@AndiAJ
Copy link
Collaborator Author

AndiAJ commented May 4, 2022

Failed 1x on 5/3 Main
Firebase link
Firebase link

java.lang.AssertionError: Download prompt button not visible
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.mozilla.fenix.ui.robots.DownloadRobotKt.assertDownloadPrompt(DownloadRobot.kt:136)
at org.mozilla.fenix.ui.robots.DownloadRobotKt.access$assertDownloadPrompt(DownloadRobot.kt:1)
at org.mozilla.fenix.ui.robots.DownloadRobot.verifyDownloadPrompt(DownloadRobot.kt:41)
at org.mozilla.fenix.ui.DownloadTest$testDownloadCompleteNotification$3.invoke(DownloadTest.kt:105)
at org.mozilla.fenix.ui.DownloadTest$testDownloadCompleteNotification$3.invoke(DownloadTest.kt:104)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.clickDownloadLink(BrowserRobot.kt:776)
at org.mozilla.fenix.ui.DownloadTest.testDownloadCompleteNotification(DownloadTest.kt:104)

@AndiAJ AndiAJ added the eng:disabled-test For any test that has been disabled label May 4, 2022
@AndiAJ
Copy link
Collaborator Author

AndiAJ commented May 4, 2022

Disabled in #25100

@sv-ohorvath sv-ohorvath removed the needs:triage Issue needs triage label May 11, 2022
AndiAJ added a commit to AndiAJ/fenix that referenced this issue May 23, 2022
…fix testDownloadCompleteNotification testDownloadPrompt and testCloseDownloadPrompt
AndiAJ added a commit to AndiAJ/fenix that referenced this issue May 25, 2022
…fix testDownloadCompleteNotification testDownloadPrompt and testCloseDownloadPrompt
mergify bot pushed a commit that referenced this issue May 25, 2022
…tDownloadPrompt and testCloseDownloadPrompt
@AndiAJ
Copy link
Collaborator Author

AndiAJ commented May 25, 2022

Fixed and re-enabled in #25205

@AndiAJ AndiAJ closed this as completed May 25, 2022
@AndiAJ AndiAJ removed the eng:disabled-test For any test that has been disabled label May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests
Projects
None yet
Development

No branches or pull requests

2 participants