2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

Bug 1868858 - Fix test failure SettingsAddonsTest.noCrashWithAddonInstalledTest

(cherry picked from commit ffd6bca179e96a598f3ecbd27d36ca303c13a6ed)
This commit is contained in:
Jackie Johnson 2023-12-07 13:07:29 -06:00 committed by mergify[bot]
parent b585fa74ee
commit cc7cc2f383

View File

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