Skip to content

Commit efa77a7

Browse files
authored
Update non-critical Autofill tests so they can run against internal builds again (#6146)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1210387502072421?focus=true ### Description Updates the remaining Autofill tests to run against `internal` build types. The critical tests were updated already. ### Steps to test this PR This is **QA optional**. If you want to test: - [ ] you can test `./gradlew autofillTestLocal` correctly installs a build which forces default variant and has auth requirement disabled, and that it runs the following test types: `autofillNoAuthTests,autofillPasswordGeneration,autofillBackfillingUsername`. (note, typically tested against API 30/33, other APIs might not succeed due to minor unaccounted for differences) --------- Co-authored-by: Craig Russell <[email protected]>
1 parent b442f91 commit efa77a7

15 files changed

+20
-2
lines changed

.maestro/autofill/1_autofill_shown_in_overflow.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ tags:
1111
- launchApp:
1212
clearState: true
1313
- runFlow: ../shared/skip_all_onboarding.yaml
14+
- hideKeyboard
1415
- runFlow: steps/access_passwords_screen.yaml

.maestro/autofill/2_autofill_add_search_update_delete_creds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tags:
1010
- launchApp:
1111
clearState: true
1212
- runFlow: ../shared/skip_all_onboarding.yaml
13+
- hideKeyboard
1314
- runFlow: steps/access_passwords_screen.yaml
1415

1516
- assertVisible:

.maestro/autofill/3_autofill_prompted_to_save_creds_on_form.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tags:
1010
- launchApp:
1111
clearState: true
1212
- runFlow: ../shared/skip_all_onboarding.yaml
13+
- hideKeyboard
1314

1415
- tapOn:
1516
id: "omnibarTextInput"

.maestro/autofill/4_autofill_settings_creds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tags:
1010
- launchApp:
1111
clearState: true
1212
- runFlow: ../shared/skip_all_onboarding.yaml
13+
- hideKeyboard
1314

1415
- tapOn:
1516
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# get to autofill form
1718
- tapOn:

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled_for_an_update.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# setup an existing credential
1718
- runFlow: ../steps/manually_add_existing_credential.yaml

.maestro/autofill/backfillingUsername/multi_step_login_username_not_backfilled_if_provided_explicitly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# get to autofill form
1718
- tapOn:

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_autogenerated.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# get to autofill form
1718
- tapOn:
@@ -41,6 +42,8 @@ tags:
4142
text: "Register"
4243
index: 1
4344

45+
- hideKeyboard
46+
4447
# access the passwords screen and assert username and password both saved
4548
- runFlow: ../steps/access_passwords_screen.yaml
4649
- tapOn: "usernameFromBackfill"

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_manually_entered.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# get to autofill form
1718
- tapOn:

.maestro/autofill/backfillingUsername/password_reset_flow_autogenerated_password.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
clearState: true
1313

1414
- runFlow: ../../shared/skip_all_onboarding.yaml
15+
- hideKeyboard
1516

1617
# get to autofill login form
1718
- tapOn:
@@ -43,6 +44,8 @@ tags:
4344
text: "Change Password"
4445
index: 1
4546

47+
- hideKeyboard
48+
4649
# access the passwords screen and assert username and password both saved
4750
- runFlow: ../steps/access_passwords_screen.yaml
4851
- tapOn: "usernameFromBackfill"

0 commit comments

Comments
 (0)