[fenix] No issue: Scroll to remote debugging text in UI Tests (https://github.com/mozilla-mobile/fenix/pull/7117)

pull/600/head
Emily Kager 5 years ago committed by Tiger Oakes
parent cd4f41aa6a
commit 6e8cdfd720

@ -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() {

Loading…
Cancel
Save