Closed Bug 1925185 Opened 1 year ago Closed 7 months ago

Intermittent UI test failure - < SettingsSitePermissionsTest.verifyDRMControlledContentPermissionSettingsTest >

Categories

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

Firefox 133
All
Android
defect

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- wontfix
firefox142 --- unaffected
firefox143 --- unaffected
firefox144 --- wontfix
firefox145 --- unaffected
firefox146 --- fixed

People

(Reporter: ajoltan, Assigned: ajoltan)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: view.getContentDescription() is "Menu"

View Hierarchy:
+>DecorView{id=-1, visibility=VISIBLE, width=1080, height=332, 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)(fillxwrap) gr=TOP CENTER_VERTICAL sim={adjust=pan} ty=APPLICATION fmt=TRANSPARENT wanim=0x10302ff
fl=DIM_BEHIND HARDWARE_ACCELERATED
fitTypes=STATUS_BARS NAVIGATION_BARS CAPTION_BAR}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+->FrameLayout{id=-1, visibility=VISIBLE, width=1080, height=332, 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=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|
+-->FrameLayout{id=16908290, res-name=content, visibility=VISIBLE, width=1080, height=332, 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=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+--->RelativeLayout{id=-1, visibility=VISIBLE, width=1080, height=332, 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=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=7}
|
+---->AppCompatImageView{id=2131297042, res-name=icon, visibility=VISIBLE, width=84, height=84, has-focus=false, has-focusable=false, 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=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=42.0, y=42.0}
|
+---->AppCompatTextView{id=2131297753, res-name=title, visibility=VISIBLE, width=917, height=117, has-focus=false, has-focusable=false, 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=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=134.0, y=42.0, text=Allow https://mozilla-mobile.github.io:443 to play DRM-controlled content?, input-type=0, ime-target=false, has-links=false}
|
+---->AppCompatTextView{id=2131297194, res-name=message, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=, input-type=0, ime-target=false, has-links=false}
|
+---->AppCompatTextView{id=2131297125, res-name=learn_more, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=Learn more, input-type=0, ime-target=false, has-links=false}
|
+---->AppCompatCheckBox{id=2131296858, res-name=do_not_ask_again, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=Remember decision for this site, input-type=0, ime-target=false, has-links=false, is-checked=true}
|
+---->AppCompatButton{id=2131296822, res-name=deny_button, visibility=VISIBLE, width=242, height=126, 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=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=544.0, y=164.0, text=Don’t allow, input-type=0, ime-target=false, has-links=false}
|
+---->AppCompatButton{id=2131296546, res-name=allow_button, visibility=VISIBLE, width=231, height=126, 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=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=807.0, y=164.0, text=Allow, input-type=0, ime-target=false, has-links=false}
|
+-->ViewStub{id=16908719, res-name=action_mode_bar_stub, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
The complete view hierarchy is available in artifact file 'view-hierarchy-1.txt'.
at androidx.test.espresso.NoMatchingViewException$Builder.build(NoMatchingViewException.java:185)
at androidx.test.espresso.base.DefaultFailureHandler.lambda$getNoMatchingViewExceptionTruncater$0(DefaultFailureHandler.java:93)
at androidx.test.espresso.base.DefaultFailureHandler$$ExternalSyntheticLambda1.truncateExceptionMessage(D8$$SyntheticClass:0)
at androidx.test.espresso.base.ViewHierarchyExceptionHandler.handleSafely(ViewHierarchyExceptionHandler.java:72)
at androidx.test.espresso.base.ViewHierarchyExceptionHandler.handleSafely(ViewHierarchyExceptionHandler.java:38)
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:385)
at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:212)
at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:140)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openThreeDotMenu(BrowserRobot.kt:1066)
at org.mozilla.fenix.ui.SettingsSitePermissionsTest$verifyDRMControlledContentPermissionSettingsTest$3.invoke(SettingsSitePermissionsTest.kt:435)
at org.mozilla.fenix.ui.SettingsSitePermissionsTest$verifyDRMControlledContentPermissionSettingsTest$3.invoke(SettingsSitePermissionsTest.kt:431)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.clickRequestDRMControlledContentAccessButton(BrowserRobot.kt:1257)
at org.mozilla.fenix.ui.SettingsSitePermissionsTest.verifyDRMControlledContentPermissionSettingsTest(SettingsSitePermissionsTest.kt:431)

Build: 10/16 mozilla-central

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

► 9/12 mozilla-central Firebase link

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

► 9/23 autoland Firebase link

Status: REOPENED → RESOLVED
Closed: 1 year ago7 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Assignee: nobody → ajoltan
Attachment #9523445 - Attachment description: WIP: Bug 1925185 - Fix verifyDRMControlledContentPermissionSettingsTest UI test → Bug 1925185 - Fix verifyDRMControlledContentPermissionSettingsTest UI test
Status: REOPENED → RESOLVED
Closed: 7 months ago7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: