Bug 1894605 Comment 8 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

► 6/1 [Firebase link](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/6785077896782091605/executions/bs.5645291a04ecec16/testcases/3/errors)

`androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: '(view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries")' doesn't match the selected view.
Expected: (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries")
Got: no descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries" was found
View Details: Toolbar{id=2131297293, res-name=navigationToolbar, visibility=VISIBLE, width=1080, height=147, 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@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=4}
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:1736)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:3)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:1)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:5)
at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:12)
at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot.verifyLibrariesUsedLink(SettingsSubMenuAboutRobot.kt:219)`
► 6/1 [Firebase link](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/6785077896782091605/executions/bs.5645291a04ecec16/testcases/3/errors)

`androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: '(view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries")' doesn't match the selected view.
Expected: (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries")
Got: no descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "Firefox Fenix | OSS Libraries" was found
View Details: Toolbar{id=2131297293, res-name=navigationToolbar, visibility=VISIBLE, width=1080, height=147, 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@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=4}
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:1736)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:3)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:1)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:5)
at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:12)
at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot.verifyLibrariesUsedLink(SettingsSubMenuAboutRobot.kt:219)`

► 6/5 [Firebase link](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/8786223957967431936/executions/bs.370043eff9007f3b/testcases/3/errors)

`java.lang.AssertionError: UiSelector[CONTAINS_TEXT=support.mozilla.org/1/mobile/1.0.2423/Android/en-US/faq-android, RESOURCE_ID=org.mozilla.fenix.debug:id/mozac_browser_toolbar_url_view] does not exist
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)
	at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)
	at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:103)
	at org.mozilla.fenix.ui.robots.BrowserRobot$verifyUrl$1.invoke(BrowserRobot.kt:85)
	at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:384)
	at org.mozilla.fenix.ui.robots.BrowserRobot.verifyUrl(BrowserRobot.kt:85)
	at org.mozilla.fenix.ui.robots.BrowserRobot.verifyHelpUrl(BrowserRobot.kt:117)
	at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot$verifySupportLink$1.invoke(SettingsSubMenuAboutRobot.kt:132)
	at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot$verifySupportLink$1.invoke(SettingsSubMenuAboutRobot.kt:131)
	at org.mozilla.fenix.ui.robots.BrowserRobotKt.browserScreen(BrowserRobot.kt:1348)
	at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot.verifySupportLink(SettingsSubMenuAboutRobot.kt:131)
	at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot.verifyTheLinksList(SettingsSubMenuAboutRobot.kt:230)
	at org.mozilla.fenix.ui.robots.SettingsSubMenuAboutRobot.verifyAboutFirefoxPreviewInfo(SettingsSubMenuAboutRobot.kt:55)
	at org.mozilla.fenix.ui.SettingsAboutTest$verifyAboutFirefoxMenuItems$4.invoke(SettingsAboutTest.kt:68)
	at org.mozilla.fenix.ui.SettingsAboutTest$verifyAboutFirefoxMenuItems$4.invoke(SettingsAboutTest.kt:67)
	at org.mozilla.fenix.ui.robots.SettingsRobot$Transition.openAboutFirefoxPreview(SettingsRobot.kt:509)
	at org.mozilla.fenix.ui.SettingsAboutTest.verifyAboutFirefoxMenuItems(SettingsAboutTest.kt:67)`

Back to Bug 1894605 Comment 8