Add first set of UI tests to Nightly
This commit is contained in:
parent
8f70072d5e
commit
be86061a11
|
@ -150,7 +150,7 @@ class HomeScreenRobot {
|
|||
fun confirmDeleteCollection() {
|
||||
onView(allOf(withText("DELETE"))).click()
|
||||
mDevice.waitNotNull(
|
||||
findObject(By.res("org.mozilla.fenix.debug:id/no_collections_header")),
|
||||
findObject(By.res("$packageName:id/no_collections_header")),
|
||||
waitingTime
|
||||
)
|
||||
}
|
||||
|
|
|
@ -138,7 +138,7 @@ class TabDrawerRobot {
|
|||
|
||||
fun snackBarButtonClick(expectedText: String) {
|
||||
mDevice.findObject(
|
||||
UiSelector().resourceId("org.mozilla.fenix.debug:id/snackbar_btn")
|
||||
UiSelector().resourceId("$packageName:id/snackbar_btn")
|
||||
).waitForExists(waitingTime)
|
||||
onView(allOf(withId(R.id.snackbar_btn), withText(expectedText))).check(
|
||||
matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE))
|
||||
|
|
|
@ -35,6 +35,12 @@ gcloud:
|
|||
|
||||
test-targets:
|
||||
- class org.mozilla.fenix.ui.NavigationToolbarTest#visitURLTest
|
||||
- class org.mozilla.fenix.ui.HistoryTest#visitedUrlHistoryTest
|
||||
- class org.mozilla.fenix.ui.SmokeTest#openMainMenuSettingsItemTest
|
||||
- class org.mozilla.fenix.ui.SmokeTest#toggleSearchSuggestions
|
||||
- class org.mozilla.fenix.ui.SmokeTest#deleteCollectionTest
|
||||
- class org.mozilla.fenix.ui.SmokeTest#noHistoryInPrivateBrowsingTest
|
||||
- class org.mozilla.fenix.ui.NoNetworkAccessStartupTests#noNetworkConnectionStartupTest
|
||||
|
||||
device:
|
||||
- model: Pixel2
|
||||
|
|
Loading…
Reference in New Issue
Block a user