mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
Bug 1870337 - Update description of the add-on post-install popup
This commit is contained in:
parent
2aa12bb12a
commit
c291a3ab1a
@ -98,7 +98,7 @@ class SettingsSubMenuAddonsManagerRobot {
|
||||
fun verifyAddonInstallCompleted(addonName: String, activityTestRule: HomeActivityIntentTestRule) {
|
||||
for (i in 1..RETRY_COUNT) {
|
||||
try {
|
||||
assertUIObjectExists(itemWithText("Okay, Got it"), waitingTime = waitingTimeLong)
|
||||
assertUIObjectExists(itemWithText("OK"), waitingTime = waitingTimeLong)
|
||||
|
||||
break
|
||||
} catch (e: AssertionError) {
|
||||
@ -123,10 +123,10 @@ class SettingsSubMenuAddonsManagerRobot {
|
||||
fun verifyAddonInstallCompletedPrompt(addonName: String) {
|
||||
onView(
|
||||
allOf(
|
||||
withText("Okay, Got it"),
|
||||
withText("OK"),
|
||||
withParent(instanceOf(RelativeLayout::class.java)),
|
||||
hasSibling(withText("$addonName has been added to $appName")),
|
||||
hasSibling(withText("Open it in the menu")),
|
||||
hasSibling(withText("Access $addonName from the $appName menu.")),
|
||||
hasSibling(withText("Allow in private browsing")),
|
||||
),
|
||||
)
|
||||
@ -134,7 +134,7 @@ class SettingsSubMenuAddonsManagerRobot {
|
||||
}
|
||||
|
||||
fun closeAddonInstallCompletePrompt() {
|
||||
onView(withText("Okay, Got it")).click()
|
||||
onView(withText("OK")).click()
|
||||
}
|
||||
|
||||
fun verifyAddonIsInstalled(addonName: String) {
|
||||
|
Loading…
Reference in New Issue
Block a user