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

Intermittent UI test failure - audioPlaybackSystemNotificationTest, mediaSystemNotificationInPrivateModeTest #20354

Closed
sv-ohorvath opened this issue Jul 13, 2021 · 10 comments
Labels
eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests

Comments

@sv-ohorvath
Copy link
Contributor

sv-ohorvath commented Jul 13, 2021

Firebase Test Run:

mediaSystemNotificationInPrivateModeTest flaky 1x on Master 6/25: Firebase link

audioPlaybackSystemNotificationTest flaky 1x on Master 7/7: Firebase link

Stacktrace:

androidx.test.espresso.AmbiguousViewMatcherException: 'with id: org.mozilla.fenix.debug:id/mozac_browser_tabstray_close' matches multiple views in the hierarchy.

Build:

┆Issue is synchronized with this Jira Task

@sv-ohorvath sv-ohorvath added eng:ui-test UI Tests eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer labels Jul 13, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Jul 13, 2021
@sv-ohorvath sv-ohorvath removed the needs:triage Issue needs triage label Jul 13, 2021
@sv-ohorvath
Copy link
Contributor Author

audioPlaybackSystemNotificationTest flaky again on 7/13: link

@sv-ohorvath
Copy link
Contributor Author

sv-ohorvath commented Jul 13, 2021

From the logs it seems the same as #20296, the cause indicates there are two identical tabs visible. I will see if I can reproduce it manually.

@sv-ohorvath
Copy link
Contributor Author

Cannot reproduce it manually, or by running the test locally.

@AndiAJ
Copy link
Collaborator

AndiAJ commented Jul 21, 2021

mediaSystemNotificationInPrivateModeTest flaky 1x on Master 7/20 Firebase link

@sv-ohorvath
Copy link
Contributor Author

Last report of this issue was July 23. I think it may have been something fixed in the meantime. I'll close these issues (related ones as well) until it comes up again.

@sv-ohorvath
Copy link
Contributor Author

Ok, the problem persists, #15624 has the same error.

@sv-ohorvath sv-ohorvath reopened this Aug 25, 2021
@AndiAJ
Copy link
Collaborator

AndiAJ commented Sep 30, 2021

Flaky 1x on 9/30 Main Firebase link

androidx.test.espresso.AmbiguousViewMatcherException: 'with id is org.mozilla.fenix.debug:id/mozac_browser_tabstray_close' matches multiple views in the hierarchy.
Problem views are marked with 'MATCHES' below.
View Hierarchy:
+>DecorView{id=-1, visibility=VISIBLE, width=1080, height=1920, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params={(0,0)(fillxfill) gr=CENTER sim={adjust=pan} ty=APPLICATION fmt=TRANSPARENT wanim=0x7f140009
fl=DIM_BEHIND LAYOUT_IN_SCREEN SECURE LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND
vsysui=LIGHT_NAVIGATION_BAR}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|

@sv-ohorvath
Copy link
Contributor Author

This issue appears to be related to multiple tests (duplicate tabs title, close button or tab item):
https://github.com/mozilla-mobile/fenix/issues?q=is%3Aissue+is%3Aopen+androidx.test.espresso.AmbiguousViewMatcherException%3A

@sv-ohorvath
Copy link
Contributor Author

Flaky on 10/1: logs

@AndiAJ
Copy link
Collaborator

AndiAJ commented Oct 8, 2021

Fixed with #21704

@AndiAJ AndiAJ closed this as completed Oct 8, 2021
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