mozilla-mobile / fenix

⚠️ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
6.48k stars 1.27k forks source link

Intermittent UI test failure - <SmokeTest.privateTabsTrayWithOpenedTabTest> #20479

Closed AndiAJ closed 2 years ago

AndiAJ commented 2 years ago

Firebase Test Run Firebase link

Stacktrace:

androidx.test.espresso.AmbiguousViewMatcherException: '(with id: org.mozilla.fenix.debug:id/mozac_browser_tabstray_title and with text: is "Test_Page_1")' 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} +->LinearLayout{id=-1, visibility=VISIBLE, width=1080, height=1788, 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@5a027e2, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
+-->ViewStub{id=16908682, 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.LinearLayout$LayoutParams@c240773, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +-->FrameLayout{id=16908290, res-name=content, visibility=VISIBLE, width=1080, height=1722, 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.LinearLayout$LayoutParams@b8e6630, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=66.0, child-count=1}
+--->CoordinatorLayout{id=2131363003, res-name=tabLayout, visibility=VISIBLE, width=1080, height=1722, 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.FrameLayout$LayoutParams@7e452a9, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} +---->ConstraintLayout{id=2131363020, res-name=tab_wrapper, visibility=VISIBLE, width=1080, height=1722, 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=androidx.coordinatorlayout.widget.CoordinatorLayout$LayoutParams@b86f1eb, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=607.0, child-count=12}
+----->View{id=2131362402, res-name=handle, visibility=VISIBLE, width=108, height=8, 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@ceccb48, tag=null, root-is-layout-requested=false, has-input-connection=false, x=486.0, y=22.0} +----->ConstraintLayout{id=2131362445, res-name=info_banner, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@872ade1, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=0}
+----->View{id=2131363090, res-name=topBar, visibility=VISIBLE, width=1080, height=221, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@6d4c706, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=30.0} +----->AppCompatImageButton{id=2131362346, res-name=exit_multi_select, desc=Exit multiselect mode, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@1e0c1c7, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+----->AppCompatTextView{id=2131362662, res-name=multiselect_title, visibility=GONE, width=1047, height=70, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@ea753f4, tag=null, root-is-layout-requested=false, has-input-connection=false, x=33.0, y=106.0, text=, input-type=0, ime-target=false, has-links=false} +----->AppCompatImageButton{id=2131362165, res-name=collect_multi_select, desc=Save selected tabs to collection, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@b8b471d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+----->AppCompatImageButton{id=2131362916, res-name=share_multi_select, desc=Share selected tabs, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@7664d92, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +----->AppCompatImageButton{id=2131362555, res-name=menu_multi_select, desc=Selected tabs menu, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@31db363, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+----->TabLayout{id=2131363009, res-name=tab_layout, visibility=VISIBLE, width=540, height=221, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@1dfbb60, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=30.0, child-count=1} +------>SlidingTabIndicator{id=-1, visibility=VISIBLE, width=540, height=221, 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@39a3819, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3}
+------->TabView{id=-1, desc=Open tabs, visibility=VISIBLE, width=180, height=221, 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.LinearLayout$LayoutParams@8752d8c, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3} +-------->AppCompatImageView{id=-1, 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.LinearLayout$LayoutParams@40d3cd5, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+-------->AppCompatTextView{id=-1, 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.LinearLayout$LayoutParams@3e9fcea, 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} +-------->FrameLayout{id=2131362195, res-name=counter_root, visibility=VISIBLE, width=114, height=66, 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.LinearLayout$LayoutParams@cac2bdb, tag=null, root-is-layout-requested=false, has-input-connection=false, x=33.0, y=77.0, child-count=1}
+--------->TabCounter{id=2131363007, res-name=tab_counter, visibility=VISIBLE, width=114, height=66, 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.FrameLayout$LayoutParams@10d9678, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1} +---------->FrameLayout{id=2131362195, res-name=counter_root, desc=0 open tabs. Tap to switch tabs., visibility=VISIBLE, width=66, height=66, 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@f71d151, tag=null, root-is-layout-requested=false, has-input-connection=false, x=24.0, y=0.0, child-count=2}
+----------->AppCompatImageView{id=2131362194, res-name=counter_box, desc=The tab counter toolbar button., visibility=VISIBLE, width=66, height=66, 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.FrameLayout$LayoutParams@6e2fdb6, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +----------->AppCompatTextView{id=2131362196, res-name=counter_text, visibility=VISIBLE, width=19, height=44, 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.FrameLayout$LayoutParams@8b7aab7, tag=null, root-is-layout-requested=false, has-input-connection=false, x=23.0, y=10.0, text=0, input-type=0, ime-target=false, has-links=false}
+------->TabView{id=-1, desc=Private tabs, visibility=VISIBLE, width=180, height=221, 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=true, layout-params=android.widget.LinearLayout$LayoutParams@9b1318d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=180.0, y=0.0, child-count=2} +-------->AppCompatImageView{id=-1, visibility=VISIBLE, width=66, height=66, 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=true, layout-params=android.widget.LinearLayout$LayoutParams@d993f42, tag=null, root-is-layout-requested=false, has-input-connection=false, x=57.0, y=77.0}
+-------->AppCompatTextView{id=-1, 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=true, layout-params=android.widget.LinearLayout$LayoutParams@a923b53, 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} +------->TabView{id=-1, desc=Synced tabs, visibility=VISIBLE, width=180, height=221, 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.LinearLayout$LayoutParams@20c5989, tag=null, root-is-layout-requested=false, has-input-connection=false, x=360.0, y=0.0, child-count=2}
+-------->AppCompatImageView{id=-1, visibility=VISIBLE, width=66, height=66, 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.LinearLayout$LayoutParams@b800d8e, tag=null, root-is-layout-requested=false, has-input-connection=false, x=57.0, y=77.0} +-------->AppCompatTextView{id=-1, 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.LinearLayout$LayoutParams@37b39af, 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}
+----->AppCompatImageButton{id=2131363017, res-name=tab_tray_overflow, desc=Open tabs menu, visibility=VISIBLE, width=132, height=132, 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@36511bc, tag=null, root-is-layout-requested=false, has-input-connection=false, x=948.0, y=75.0} +----->View{id=2131362287, res-name=divider, visibility=VISIBLE, width=1080, height=3, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@d80545, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=251.0}
+----->ViewPager2{id=2131363022, res-name=tabsTray, visibility=VISIBLE, width=1080, height=1468, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@5f3749a, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=254.0, child-count=1} +------>RecyclerViewImpl{id=1, visibility=VISIBLE, width=1080, height=1468, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@f4bc1cb, 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=1468, 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=androidx.recyclerview.widget.RecyclerView$LayoutParams@64f8da8, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} +-------->BrowserTrayList{id=2131363117, res-name=tray_list_item, visibility=VISIBLE, width=1080, height=1468, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@4f8b0c1, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
+--------->FrameLayout{id=2131363016, res-name=tab_tray_grid_item, visibility=VISIBLE, width=540, height=557, 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.recyclerview.widget.GridLayoutManager$LayoutParams@452afa7, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} +---------->MaterialCardView{id=-1, visibility=VISIBLE, width=496, height=513, 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@ae3dc54, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=22.0, is-checked=false, child-count=1}
+----------->ConstraintLayout{id=2131363008, res-name=tab_item, visibility=VISIBLE, width=496, height=513, 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@d1e97fd, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=5} +------------>AppCompatImageView{id=2131362593, res-name=mozac_browser_tabstray_favicon_icon, visibility=VISIBLE, width=44, height=44, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@303fcf2, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=20.0}
+------------>AppCompatTextView{id=2131362596, res-name=mozac_browser_tabstray_title, visibility=VISIBLE, width=364, height=83, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@4f09f43, tag=null, root-is-layout-requested=false, has-input-connection=false, x=66.0, y=0.0, text=Test_Page_1, input-type=0, ime-target=false, has-links=false} MATCHES +------------>AppCompatImageButton{id=2131362592, res-name=mozac_browser_tabstray_close, desc=Close tab Test_Page_1, visibility=VISIBLE, width=66, height=66, 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@bcc69c0, tag=null, root-is-layout-requested=false, has-input-connection=false, x=430.0, y=9.0}
+------------>View{id=2131362429, res-name=horizonatal_divider, visibility=VISIBLE, width=496, height=3, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@8c1b6f9, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=83.0} +------------>CardView{id=2131362591, res-name=mozac_browser_tabstray_card, visibility=VISIBLE, width=496, height=430, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@ef3ec9f, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=86.0, child-count=3}
+------------->AppCompatImageView{id=2131362240, res-name=default_tab_thumbnail, visibility=VISIBLE, width=496, height=430, 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.FrameLayout$LayoutParams@1ee61ec, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +------------->TabThumbnailView{id=2131362595, res-name=mozac_browser_tabstray_thumbnail, desc=Open Tab, visibility=VISIBLE, width=496, height=430, 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.FrameLayout$LayoutParams@cddc9b5, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+------------->FrameLayout{id=2131362903, res-name=selected_mask, 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@4b4b3bb, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1} +-------------->AppCompatImageView{id=2131362137, res-name=checkmark, desc=Selected, visibility=VISIBLE, 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@d55b0d8, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+---------->AppCompatImageButton{id=2131362753, res-name=play_pause_button, desc=Pause, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=false, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@86e4c31, tag=null, root-is-layout-requested=false, has-input-connection=false, x=-22.050001, y=-22.050001} +--------->FrameLayout{id=2131363016, res-name=tab_tray_grid_item, visibility=VISIBLE, width=540, height=557, 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.recyclerview.widget.GridLayoutManager$LayoutParams@bf0d097, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
+---------->MaterialCardView{id=-1, visibility=VISIBLE, width=496, height=513, 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@e10284, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=22.0, is-checked=false, child-count=1} +----------->ConstraintLayout{id=2131363008, res-name=tab_item, visibility=VISIBLE, width=496, height=513, 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@4aa7a6d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=5}
+------------>AppCompatImageView{id=2131362593, res-name=mozac_browser_tabstray_favicon_icon, visibility=VISIBLE, width=44, height=44, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@b3186a2, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=20.0} +------------>AppCompatTextView{id=2131362596, res-name=mozac_browser_tabstray_title, visibility=VISIBLE, width=364, height=83, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@e67df33, tag=null, root-is-layout-requested=false, has-input-connection=false, x=66.0, y=0.0, text=Test_Page_1, input-type=0, ime-target=false, has-links=false} MATCHES
+------------>AppCompatImageButton{id=2131362592, res-name=mozac_browser_tabstray_close, desc=Close tab Test_Page_1, visibility=VISIBLE, width=66, height=66, 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@cadc2f0, tag=null, root-is-layout-requested=false, has-input-connection=false, x=430.0, y=9.0} +------------>View{id=2131362429, res-name=horizonatal_divider, visibility=VISIBLE, width=496, height=3, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@d015069, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=83.0}
+------------>CardView{id=2131362591, res-name=mozac_browser_tabstray_card, visibility=VISIBLE, width=496, height=430, 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=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@8373b8f, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=86.0, child-count=3} +------------->AppCompatImageView{id=2131362240, res-name=default_tab_thumbnail, visibility=VISIBLE, width=496, height=430, 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.FrameLayout$LayoutParams@3441e1c, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
+------------->TabThumbnailView{id=2131362595, res-name=mozac_browser_tabstray_thumbnail, desc=Open Tab, visibility=VISIBLE, width=496, height=430, 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.FrameLayout$LayoutParams@ad58a25, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +------------->FrameLayout{id=2131362903, res-name=selected_mask, 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@ff601ab, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
+-------------->AppCompatImageView{id=2131362137, res-name=checkmark, desc=Selected, visibility=VISIBLE, 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@5830008, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} +---------->AppCompatImageButton{id=2131362753, res-name=play_pause_button, desc=Pause, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=false, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@f9a3a1, tag=null, root-is-layout-requested=false, has-input-connection=false, x=-22.050001, y=-22.050001}
+-------->AppCompatTextView{id=2131363015, res-name=tab_tray_empty_view, visibility=GONE, width=1080, height=1468, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@9abe9c6, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=Your private tabs will be shown here., input-type=0, ime-target=false, has-links=false} +---->ExtendedFloatingActionButton{id=2131362676, res-name=new_tab_button, desc=Add private tab, visibility=VISIBLE, width=395, height=132, 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.coordinatorlayout.widget.CoordinatorLayout$LayoutParams@4910d87, tag=null, root-is-layout-requested=false, has-input-connection=false, x=641.0, y=1546.0, text=Private, input-type=0, ime-target=false, has-links=false, is-checked=false}

+->View{id=16908336, res-name=navigationBarBackground, visibility=VISIBLE, width=1080, height=132, 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.FrameLayout$LayoutParams@14c14b4, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1788.0} | at dalvik.system.VMStack.getThreadStackTrace(Native Method) at java.lang.Thread.getStackTrace(Thread.java:1538) at androidx.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:16) at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:36) at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:106) at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:31) at org.mozilla.fenix.ui.robots.TabDrawerRobotKt.assertExistingOpenTabs(TabDrawerRobot.kt:403) at org.mozilla.fenix.ui.robots.TabDrawerRobotKt.access$assertExistingOpenTabs(TabDrawerRobot.kt:1) at org.mozilla.fenix.ui.robots.TabDrawerRobot.verifyExistingOpenTabs(TabDrawerRobot.kt:72) at org.mozilla.fenix.ui.SmokeTest$privateTabsTrayWithOpenedTabTest$5.invoke(SmokeTest.kt:1115) at org.mozilla.fenix.ui.SmokeTest$privateTabsTrayWithOpenedTabTest$5.invoke(SmokeTest.kt:1111) at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openTabDrawer(BrowserRobot.kt:515) at org.mozilla.fenix.ui.SmokeTest.privateTabsTrayWithOpenedTabTest(SmokeTest.kt:1111) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at androidx.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:80) at androidx.test.internal.runner.junit4.statement.RunAfters.evaluate(RunAfters.java:61) at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531) at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:134) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2145)

Build: Master 7/23

┆Issue is synchronized with this Jira Task

sv-ohorvath commented 2 years ago

Seems similar to https://github.com/mozilla-mobile/fenix/issues/20354 and https://github.com/mozilla-mobile/fenix/issues/20296 which I couldn't reproduce or find an explanation for, but it seems to be more frequent now.

sv-ohorvath commented 2 years ago

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 commented 2 years ago

Ok, the problem persists, https://github.com/mozilla-mobile/fenix/issues/15624 has the same error.

AndiAJ commented 2 years ago

Flaky 1x on 9/15 Main Firebase link

sv-ohorvath commented 2 years ago

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

AndiAJ commented 2 years ago

Fixed with #21704