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

Intermittent UI test failure - HomeScreenTest dismissOnboardingUsingBookmarksTest, toolbarTapDoesntDismissOnboardingTest, dismissOnboardingUsingHelpTest, dismissOnboardingUsingSettingsTest #24436

Closed
AndiAJ opened this issue Mar 24, 2022 · 14 comments
Labels
eng:disabled-test For any test that has been disabled 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 Mar 24, 2022

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: (with text: is "Welcome to Firefox Fenix!")

View Hierarchy:
+>DecorView{id=-1, visibility=VISIBLE, width=1080, height=1920, has-focus=true, 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) sim={adjust=resize} ty=BASE_APPLICATION wanim=0x7f14034a
fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}, 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=true, 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@d64a036, 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@8ae48a4, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+-->FrameLayout{id=-1, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@f2f160d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=66.0, child-count=1}
|
+--->FitWindowsLinearLayout{id=2131361871, res-name=action_bar_root, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@fa9f3d3, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|
+---->ViewStubCompat{id=2131361942, 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@bd94b10, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+---->ContentFrameLayout{id=16908290, res-name=content, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@ec40609, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+----->HomeActivityRootLinearLayout{id=2131362847, res-name=rootContainer, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@195fa2f, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|
+------>ViewStub{id=2131362702, res-name=navigationToolbarStub, 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@e70083c, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+------>FragmentContainerView{id=2131362215, res-name=container, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@29df9c5, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+------->FragmentContainerView{id=2131362215, res-name=container, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@2bb8f1a, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+-------->CoordinatorLayout{id=2131362459, res-name=homeLayout, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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@7920a4b, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=4}
|
+--------->AppCompatImageView{id=2131363164, res-name=wallpaperImageView, 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.coordinatorlayout.widget.CoordinatorLayout$LayoutParams@9536c28, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+--------->AppBarLayout{id=2131362456, res-name=homeAppBar, visibility=VISIBLE, width=1080, height=248, 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.coordinatorlayout.widget.CoordinatorLayout$LayoutParams@2696d41, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+---------->CollapsingToolbarLayout{id=-1, visibility=VISIBLE, width=1080, height=248, 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=com.google.android.material.appbar.AppBarLayout$LayoutParams@77382e6, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|
+----------->AppCompatImageButton{id=2131362791, res-name=privateBrowsingButton, desc=Enable private browsing, visibility=VISIBLE, width=132, height=132, 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=false, is-selected=false, layout-params=com.google.android.material.appbar.CollapsingToolbarLayout$LayoutParams@1f50027, tag=null, root-is-layout-requested=false, has-input-connection=false, x=915.0, y=39.0}
|
+----------->AppCompatImageView{id=2131363181, res-name=wordmark, desc=Firefox logo - change the wallpaper, button, visibility=VISIBLE, width=581, height=110, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=com.google.android.material.appbar.CollapsingToolbarLayout$LayoutParams@8722d4, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=50.0}
|
+--------->RecyclerView{id=2131362923, res-name=sessionControlRecyclerView, visibility=VISIBLE, width=1080, height=1722, has-focus=true, 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.coordinatorlayout.widget.CoordinatorLayout$LayoutParams@a1e9c7d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=248.0, child-count=5}
|
+---------->ConstraintLayout{id=2131362735, res-name=onboarding_card, visibility=VISIBLE, width=992, height=736, has-focus=true, 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@864e772, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=-264.0, child-count=4}
|
+----------->AppCompatTextView{id=2131362436, res-name=header_text, visibility=VISIBLE, width=904, height=88, 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@5a777c3, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=44.0, text=Always-on privacy, input-type=0, ime-target=false, has-links=false}
|
+----------->AppCompatTextView{id=2131362292, res-name=description_text, visibility=VISIBLE, width=904, height=99, 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@29d9840, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=165.0, text=Firefox Fenix automatically stops companies from secretly following you around the web., input-type=0, ime-target=false, has-links=false}
|
+----------->OnboardingRadioButton{id=2131363119, res-name=tracking_protection_standard_option, visibility=VISIBLE, width=860, height=148, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=true, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@c9608be, tag=null, root-is-layout-requested=false, has-input-connection=false, x=88.0, y=308.0, text=Standard (default)
Balanced for privacy and performance. Pages load normally., input-type=0, ime-target=true, has-links=false, is-checked=true}
|
+----------->OnboardingRadioButton{id=2131363120, res-name=tracking_protection_strict_default, visibility=VISIBLE, width=860, height=148, 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@37fcd1f, tag=null, root-is-layout-requested=false, has-input-connection=false, x=88.0, y=500.0, text=Strict
Blocks more trackers so pages load faster, but some on-page functionality may break., input-type=0, ime-target=false, has-links=false, is-checked=false}
|
+---------->ConstraintLayout{id=2131362735, res-name=onboarding_card, visibility=VISIBLE, width=992, height=473, 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@2e3f86c, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=516.0, child-count=4}
|
+----------->AppCompatImageView{id=2131362068, res-name=avatar_icon, visibility=VISIBLE, width=143, height=110, 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@49de35, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=44.0}
|
+----------->AppCompatTextView{id=2131362436, res-name=header_text, visibility=VISIBLE, width=761, height=64, 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@325f2ca, tag=null, root-is-layout-requested=false, has-input-connection=false, x=187.0, y=67.0, text=Sync Firefox between devices, input-type=0, ime-target=false, has-links=false}
|
+----------->AppCompatTextView{id=2131362292, res-name=description_text, visibility=VISIBLE, width=904, height=99, 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@95e1c3b, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=170.0, text=Bring bookmarks, history, and passwords to Firefox Fenix on this device., input-type=0, ime-target=false, has-links=false}
|
+----------->AppCompatButton{id=2131362422, res-name=fxa_sign_in_button, visibility=VISIBLE, width=904, 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@a4e2f58, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=297.0, text=Sign up, input-type=0, ime-target=false, has-links=false}
|
+---------->ConstraintLayout{id=2131362735, res-name=onboarding_card, visibility=VISIBLE, width=992, height=520, 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@bc728b1, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=1033.0, child-count=3}
|
+----------->AppCompatTextView{id=2131362436, res-name=header_text, visibility=VISIBLE, width=904, height=88, 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@c187196, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=44.0, text=Your privacy, input-type=0, ime-target=false, has-links=false}
|
+----------->AppCompatTextView{id=2131362292, res-name=description_text, visibility=VISIBLE, width=904, height=145, 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@9084117, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=171.0, text=We’ve designed Firefox Fenix to give you control over what you share online and what you share with us., input-type=0, ime-target=false, has-links=false}
|
+----------->AppCompatButton{id=2131362814, res-name=read_button, visibility=VISIBLE, width=904, 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@b22e904, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=344.0, text=Read our privacy notice, input-type=0, ime-target=false, has-links=false}
|
+---------->AppCompatButton{id=2131362412, res-name=finish_button, visibility=VISIBLE, width=992, 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.recyclerview.widget.RecyclerView$LayoutParams@df49eed, tag=null, root-is-layout-requested=false, has-input-connection=false, x=44.0, y=1597.0, text=Start browsing, input-type=0, ime-target=false, has-links=false}
|
+---------->View{id=-1, visibility=VISIBLE, width=1080, height=243, 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.recyclerview.widget.RecyclerView$LayoutParams@1e21122, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1757.0}
|
+--------->ConstraintLayout{id=2131363086, res-name=toolbarLayout, visibility=VISIBLE, width=1080, height=157, 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@c5d7b3, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1565.0, child-count=6}
|
+---------->View{id=2131362106, res-name=bottom_bar, visibility=VISIBLE, width=1080, height=154, 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@3679170, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=3.0}
|
+---------->FrameLayout{id=2131363096, res-name=toolbar_wrapper, desc=Search or enter address, visibility=VISIBLE, width=827, height=110, 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@e093ce9, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=25.0, child-count=2}
|
+----------->AppCompatImageView{id=2131362890, res-name=search_engine_icon, 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@fb41d6e, tag=null, root-is-layout-requested=false, has-input-connection=false, x=22.0, y=22.0}
|
+----------->AppCompatTextView{id=2131363085, res-name=toolbar, visibility=VISIBLE, width=433, height=56, 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@1bc3c0f, tag=null, root-is-layout-requested=false, has-input-connection=false, x=121.0, y=27.0, text=Search or enter address, input-type=0, ime-target=false, has-links=false}
|
+---------->Barrier{id=2131361854, res-name=accessory_button_barrier, 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=false, is-selected=false, layout-params=androidx.constraintlayout.widget.ConstraintLayout$LayoutParams@a0c549c, tag=null, root-is-layout-requested=false, has-input-connection=false, x=849.0, y=0.0}
|
+---------->TabCounter{id=2131363021, res-name=tab_button, 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@5afbea5, tag=null, root-is-layout-requested=false, has-input-connection=false, x=849.0, y=14.0, child-count=1}
|
+----------->FrameLayout{id=2131362226, 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@88a27a, tag=null, root-is-layout-requested=false, has-input-connection=false, x=33.0, y=33.0, child-count=2}
|
+------------>AppCompatImageView{id=2131362225, 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@a8a2b, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+------------>AppCompatTextView{id=2131362227, 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@2d81e88, 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}
|
+---------->MenuButton{id=2131362591, res-name=menuButton, visibility=VISIBLE, width=99, 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@2ee6c46, tag=null, root-is-layout-requested=false, has-input-connection=false, x=981.0, y=14.0, child-count=3}
|
+----------->AppCompatImageView{id=2131362440, res-name=highlight, desc=Highlighted, 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@8a59e07, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+----------->AppCompatImageView{id=2131362475, res-name=icon, desc=Menu, visibility=VISIBLE, width=99, 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@5149b34, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+----------->AppCompatImageView{id=2131362730, res-name=notification_dot, desc=Highlighted, visibility=VISIBLE, width=99, 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@f481d5d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+---------->View{id=2131362105, res-name=bottomBarShadow, 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@d9506d2, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}
|
+->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@8f413a3, 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.HomeScreenRobotKt.assertWelcomeHeader(HomeScreenRobot.kt:509)
at org.mozilla.fenix.ui.robots.HomeScreenRobotKt.access$assertWelcomeHeader(HomeScreenRobot.kt:1)
at org.mozilla.fenix.ui.robots.HomeScreenRobot.verifyWelcomeHeader(HomeScreenRobot.kt:105)
at org.mozilla.fenix.ui.HomeScreenTest$dismissOnboardingUsingBookmarksTest$1.invoke(HomeScreenTest.kt:109)
at org.mozilla.fenix.ui.HomeScreenTest$dismissOnboardingUsingBookmarksTest$1.invoke(HomeScreenTest.kt:108)
at org.mozilla.fenix.ui.robots.HomeScreenRobotKt.homeScreen(HomeScreenRobot.kt:417)
at org.mozilla.fenix.ui.HomeScreenTest.dismissOnboardingUsingBookmarksTest(HomeScreenTest.kt:108)
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.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:531)
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: 3/23 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 Mar 24, 2022
@github-actions github-actions bot added the needs:triage Issue needs triage label Mar 24, 2022
@sv-ohorvath sv-ohorvath reopened this Mar 25, 2022
@sv-ohorvath
Copy link
Contributor

sv-ohorvath commented Mar 25, 2022

toolbarTapDoesntDismissOnboardingTes also flaky, with the same error, on debug 3/25:
https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/6597984534487927757/executions/bs.9b915b25f66f65c4

@sv-ohorvath sv-ohorvath changed the title Intermittent UI test failure - < HomeScreenTest. dismissOnboardingUsingBookmarksTest > Intermittent UI test failure - HomeScreenTest dismissOnboardingUsingBookmarksTest, toolbarTapDoesntDismissOnboardingTest, dismissOnboardingUsingHelpTest Mar 25, 2022
@sv-ohorvath sv-ohorvath removed the needs:triage Issue needs triage label Mar 25, 2022
@sv-ohorvath
Copy link
Contributor

dismissOnboardingUsingHelpTest also flaky (failed 1/2 runs), with the same error: #24385 (comment)

@sv-ohorvath
Copy link
Contributor

same cause of failure on #24381

@AaronMT
Copy link
Contributor

AaronMT commented Mar 25, 2022

Seems like for some reason the onboarding is automatically skipped on first-run. Maybe related to home-screen work. I'm unable to reproduce locally. @sarah541 any ideas?

@AaronMT
Copy link
Contributor

AaronMT commented Mar 25, 2022

These tests are literally checking for the "Welcome to ${app}" text and are not finding it. Is this fragment/view lazily loaded now on the home-screen or something on API 28?

@AaronMT
Copy link
Contributor

AaronMT commented Mar 25, 2022

This is what the home screen looks like after launch
Screen Shot 2022-03-25 at 4 10 23 PM

@sarah541
Copy link
Contributor

I am not sure about this. Moreover my changes related to home screen haven’t been merged yet so definitely not related to my work

@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Mar 28, 2022

toolbarTapDoesntDismissOnboardingTest flaky 1x on 3/25 Main Firebase link

dismissOnboardingUsingBookmarksTest flaky 1x on 3/25 Main Firebase link

@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Mar 28, 2022

dismissOnboardingUsingBookmarksTest flaky 1x on 3/26 Main Firebase link

@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Mar 28, 2022

toolbarTapDoesntDismissOnboardingTest Failed 1x on 3/27 Main 💥
Firebase link
Firebase link

@sv-ohorvath
Copy link
Contributor

I am not sure about this. Moreover my changes related to home screen haven’t been merged yet so definitely not related to my work

@sarah541 yeah, sorry, I thought I saw your initial PR merged, but it was actually closed. Thanks for clearing it out.

@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Mar 28, 2022

dismissOnboardingUsingSettingsTest
💥 Failed 1x on 3/25 Main
Firebase link
Firebase link

Stacktrace:

androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: (with text: is "Welcome to Firefox Fenix!")

@AndiAJ AndiAJ changed the title Intermittent UI test failure - HomeScreenTest dismissOnboardingUsingBookmarksTest, toolbarTapDoesntDismissOnboardingTest, dismissOnboardingUsingHelpTest Intermittent UI test failure - HomeScreenTest dismissOnboardingUsingBookmarksTest, toolbarTapDoesntDismissOnboardingTest, dismissOnboardingUsingHelpTest, dismissOnboardingUsingSettingsTest Mar 28, 2022
@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Mar 28, 2022

dismissOnboardingUsingHelpTest flaky 1x on 3/28 Main Firebase link

AndiAJ added a commit to AndiAJ/fenix that referenced this issue Mar 28, 2022
mergify bot pushed a commit that referenced this issue Mar 28, 2022
@AndiAJ AndiAJ added the eng:disabled-test For any test that has been disabled label Mar 28, 2022
AndiAJ added a commit to AndiAJ/fenix that referenced this issue Apr 4, 2022
@AndiAJ
Copy link
Collaborator Author

AndiAJ commented Apr 5, 2022

Fixed in #24577 , closing for now

@AndiAJ AndiAJ closed this as completed Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:disabled-test For any test that has been disabled 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

4 participants