Skip to content

Commit 329b53b

Browse files
authored
Fix omnibar-related Maestro tests (#5974)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1210096722341717?focus=true ### Description - Changes omnibar-related tests to use `id` instead of `text` when asserting on the hint. - Adds a test to check that the hint is “Search” on new tab and "Search or Type URL” on an open tab. ### Steps to test this PR - [ ] Code review
1 parent ffba6d0 commit 329b53b

21 files changed

+32
-23
lines changed

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/login-simple"
2020
- pressKey: Enter
2121

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled_for_an_update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tags:
1818

1919
# get to autofill form
2020
- tapOn:
21-
text: "search or type URL"
21+
id: "omnibarTextInput"
2222
- inputText: "https://autofill.me/form/login-simple"
2323
- pressKey: Enter
2424
- runFlow: ../steps/decline_autofill_prompt.yaml

.maestro/autofill/backfillingUsername/multi_step_login_username_not_backfilled_if_provided_explicitly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/login-simple"
2020
- pressKey: Enter
2121

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_autogenerated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/registration-username"
2020
- pressKey: Enter
2121

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_manually_entered.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/registration-username"
2020
- pressKey: Enter
2121

.maestro/autofill/backfillingUsername/password_reset_flow_autogenerated_password.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill login form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/login-simple"
2020
- pressKey: Enter
2121

.maestro/autofill/backfillingUsername/password_reset_flow_for_existing_credential_generated_password.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill login form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/login-simple"
2020
- pressKey: Enter
2121

.maestro/autofill/passwordGeneration/autosaves_credential_when_password_generated_with_username.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/registration-username"
2020
- pressKey: Enter
2121

.maestro/autofill/passwordGeneration/autosaves_credential_when_password_generated_without_username.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515

1616
# get to autofill form
1717
- tapOn:
18-
text: "search or type URL"
18+
id: "omnibarTextInput"
1919
- inputText: "https://autofill.me/form/registration-username"
2020
- pressKey: Enter
2121

.maestro/bookmarks/ensure_bookmarks_can_be_added_and_deleted.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313
- runFlow: ../shared/skip_all_onboarding.yaml
1414

1515
- tapOn:
16-
text: "search or type URL"
16+
id: "omnibarTextInput"
1717
- inputText: "https://privacy-test-pages.site"
1818
- pressKey: Enter
1919
- tapOn:

0 commit comments

Comments
 (0)