mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
Bug 1860251 - Crash reporting TestRail matching
This commit is contained in:
parent
0c1039e14b
commit
c1d6c0ce12
@ -54,8 +54,9 @@ class CrashReportingTest {
|
|||||||
mockWebServer.shutdown()
|
mockWebServer.shutdown()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/308906
|
||||||
@Test
|
@Test
|
||||||
fun closeTabCrashedReporterTest() {
|
fun closeTabFromCrashedTabReporterTest() {
|
||||||
homeScreen {
|
homeScreen {
|
||||||
}.openNavigationToolbar {
|
}.openNavigationToolbar {
|
||||||
}.openTabCrashReporter {
|
}.openTabCrashReporter {
|
||||||
@ -65,9 +66,10 @@ class CrashReportingTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/2336134
|
||||||
@Ignore("Test failure caused by: https://github.com/mozilla-mobile/fenix/issues/19964")
|
@Ignore("Test failure caused by: https://github.com/mozilla-mobile/fenix/issues/19964")
|
||||||
@Test
|
@Test
|
||||||
fun restoreTabCrashedReporterTest() {
|
fun restoreTabFromTabCrashedReporterTest() {
|
||||||
val website = TestAssetHelper.getGenericAsset(mockWebServer, 1)
|
val website = TestAssetHelper.getGenericAsset(mockWebServer, 1)
|
||||||
|
|
||||||
homeScreen {
|
homeScreen {
|
||||||
@ -81,6 +83,7 @@ class CrashReportingTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/1681928
|
||||||
@SmokeTest
|
@SmokeTest
|
||||||
@Test
|
@Test
|
||||||
fun useAppWhileTabIsCrashedTest() {
|
fun useAppWhileTabIsCrashedTest() {
|
||||||
@ -110,35 +113,4 @@ class CrashReportingTest {
|
|||||||
verifySettingsButton()
|
verifySettingsButton()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@SmokeTest
|
|
||||||
@Test
|
|
||||||
fun privateBrowsingUseAppWhileTabIsCrashedTest() {
|
|
||||||
val firstWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
|
|
||||||
val secondWebPage = TestAssetHelper.getGenericAsset(mockWebServer, 2)
|
|
||||||
|
|
||||||
homeScreen {
|
|
||||||
togglePrivateBrowsingModeOnOff()
|
|
||||||
}.openNavigationToolbar {
|
|
||||||
}.enterURLAndEnterToBrowser(firstWebPage.url) {
|
|
||||||
mDevice.waitForIdle()
|
|
||||||
}.openTabDrawer {
|
|
||||||
}.openNewTab {
|
|
||||||
}.submitQuery(secondWebPage.url.toString()) {
|
|
||||||
waitForPageToLoad()
|
|
||||||
}
|
|
||||||
|
|
||||||
navigationToolbar {
|
|
||||||
}.openTabCrashReporter {
|
|
||||||
verifyPageContent(tabCrashMessage)
|
|
||||||
}.openTabDrawer {
|
|
||||||
verifyExistingOpenTabs(firstWebPage.title)
|
|
||||||
verifyExistingOpenTabs(secondWebPage.title)
|
|
||||||
}.closeTabDrawer {
|
|
||||||
}.goToHomescreen {
|
|
||||||
verifyCommonMythsLink()
|
|
||||||
}.openThreeDotMenu {
|
|
||||||
verifySettingsButton()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user