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:
parent
465789fe62
commit
25ddb717bf
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user