For #2142: Added UI test assertion
parent
7a9ddd9a1d
commit
965d99a1c1
|
@ -119,7 +119,7 @@ private fun assertHomePrivateBrowsingButton() = onView(ViewMatchers.withResource
|
|||
private fun assertHomeWordmark() = onView(ViewMatchers.withResourceName("wordmark"))
|
||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||
private fun assertHomeToolbar() = onView(ViewMatchers.withResourceName("toolbar"))
|
||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||
.check(matches(allOf(withEffectiveVisibility(Visibility.VISIBLE), ViewMatchers.hasFocus())))
|
||||
private fun assertOpenTabsHeader() =
|
||||
onView(CoreMatchers.allOf(ViewMatchers.withText("Open tabs")))
|
||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||
|
|
Loading…
Reference in New Issue