2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

Bug 1815651 - Fix verifyAutofillToggleTest UI test

This commit is contained in:
AndiAJ 2024-02-14 13:29:42 +02:00 committed by mergify[bot]
parent 465789fe62
commit 25ddb717bf

View File

@ -510,9 +510,13 @@ class LoginsTest {
navigationToolbar {
}.enterURLAndEnterToBrowser(loginPage.toUri()) {
waitForPageToLoad()
setPageObjectText(itemWithResId("username"), "mozilla")
waitForAppWindowToBeUpdated()
setPageObjectText(itemWithResId("password"), "firefox")
waitForAppWindowToBeUpdated()
clickPageObject(itemWithResId("submit"))
waitForPageToLoad()
verifySaveLoginPromptIsDisplayed()
clickPageObject(itemWithText("Save"))
}.openTabDrawer {
@ -521,6 +525,8 @@ class LoginsTest {
navigationToolbar {
}.enterURLAndEnterToBrowser(loginPage.toUri()) {
waitForPageToLoad()
clickPageObject(itemWithResId("togglePassword"))
verifyPrefilledLoginCredentials("mozilla", "firefox", true)
}.openTabDrawer {
closeTab()