|
|
|
@ -37,6 +37,7 @@ class NoNetworkAccessStartupTests {
|
|
|
|
|
// Test running on beta/release builds in CI:
|
|
|
|
|
// caution when making changes to it, so they don't block the builds
|
|
|
|
|
// Based on STR from https://github.com/mozilla-mobile/fenix/issues/16886
|
|
|
|
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/2240542
|
|
|
|
|
@Test
|
|
|
|
|
fun noNetworkConnectionStartupTest() {
|
|
|
|
|
setNetworkEnabled(false)
|
|
|
|
@ -49,6 +50,7 @@ class NoNetworkAccessStartupTests {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Based on STR from https://github.com/mozilla-mobile/fenix/issues/16886
|
|
|
|
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/2240722
|
|
|
|
|
@Test
|
|
|
|
|
fun networkInterruptedFromBrowserToHomeTest() {
|
|
|
|
|
val url = "example.com"
|
|
|
|
@ -66,6 +68,7 @@ class NoNetworkAccessStartupTests {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/2240723
|
|
|
|
|
@Test
|
|
|
|
|
fun testPageReloadAfterNetworkInterrupted() {
|
|
|
|
|
val url = "example.com"
|
|
|
|
@ -82,6 +85,7 @@ class NoNetworkAccessStartupTests {
|
|
|
|
|
}.refreshPage { }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/2240721
|
|
|
|
|
@SmokeTest
|
|
|
|
|
@Test
|
|
|
|
|
fun testSignInPageWithNoNetworkConnection() {
|
|
|
|
|