Bug 1868858 - Fix test failure SettingsAddonsTest.noCrashWithAddonInstalledTest

(cherry picked from commit ffd6bca179e96a598f3ecbd27d36ca303c13a6ed)
fenix/121.0
Jackie Johnson 5 months ago committed by mergify[bot]
parent b585fa74ee
commit cc7cc2f383

@ -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 {

Loading…
Cancel
Save