|
|
|
@ -113,8 +113,10 @@ class SettingsAddonsTest {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TODO: Harden to dynamically install addons from position
|
|
|
|
|
// in list of detected addons on screen instead of hard-coded values.
|
|
|
|
|
// TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/561600
|
|
|
|
|
// Installs 3 add-on and checks that the app doesn't crash while navigating the app
|
|
|
|
|
// Installs 2 add-on and checks that the app doesn't crash while navigating the app
|
|
|
|
|
@SmokeTest
|
|
|
|
|
@Test
|
|
|
|
|
fun noCrashWithAddonInstalledTest() {
|
|
|
|
@ -122,15 +124,12 @@ class SettingsAddonsTest {
|
|
|
|
|
activityTestRule.activity.settings().setStrictETP()
|
|
|
|
|
|
|
|
|
|
val uBlockAddon = "uBlock Origin"
|
|
|
|
|
val tampermonkeyAddon = "Tampermonkey"
|
|
|
|
|
val darkReaderAddon = "Dark Reader"
|
|
|
|
|
val trackingProtectionPage = getEnhancedTrackingProtectionAsset(mockWebServer)
|
|
|
|
|
|
|
|
|
|
addonsMenu {
|
|
|
|
|
installAddon(uBlockAddon, activityTestRule)
|
|
|
|
|
closeAddonInstallCompletePrompt()
|
|
|
|
|
installAddon(tampermonkeyAddon, activityTestRule)
|
|
|
|
|
closeAddonInstallCompletePrompt()
|
|
|
|
|
installAddon(darkReaderAddon, activityTestRule)
|
|
|
|
|
closeAddonInstallCompletePrompt()
|
|
|
|
|
}.goBack {
|
|
|
|
|