No issue: Scroll to remote debugging text in UI Tests (#7117)

fennec/nightly
Emily Kager 5 years ago committed by Tiger Oakes
parent 32985af882
commit 558f90da00

@ -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