diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsRobot.kt index 9b3b14dc6..2e090eb84 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsRobot.kt @@ -199,8 +199,11 @@ private fun assertDeveloperToolsHeading() { .check(matches(withEffectiveVisibility(Visibility.VISIBLE))) } -private fun assertRemoteDebug() = onView(ViewMatchers.withText("Remote debugging via USB")) - .check(matches(withEffectiveVisibility(Visibility.VISIBLE))) +private fun assertRemoteDebug() { + TestHelper.scrollToElementByText("Remote debugging via USB") + onView(ViewMatchers.withText("Remote debugging via USB")) + .check(matches(withEffectiveVisibility(Visibility.VISIBLE))) +} // ABOUT SECTION private fun assertAboutHeading() {