Skip to content

Update non-critical Autofill tests so they can run against internal builds again #6146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .maestro/autofill/1_autofill_shown_in_overflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ tags:
- launchApp:
clearState: true
- runFlow: ../shared/skip_all_onboarding.yaml
- hideKeyboard
- runFlow: steps/access_passwords_screen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tags:
- launchApp:
clearState: true
- runFlow: ../shared/skip_all_onboarding.yaml
- hideKeyboard
- runFlow: steps/access_passwords_screen.yaml

- assertVisible:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tags:
- launchApp:
clearState: true
- runFlow: ../shared/skip_all_onboarding.yaml
- hideKeyboard

- tapOn:
id: "omnibarTextInput"
Expand Down
1 change: 1 addition & 0 deletions .maestro/autofill/4_autofill_settings_creds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tags:
- launchApp:
clearState: true
- runFlow: ../shared/skip_all_onboarding.yaml
- hideKeyboard

- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# setup an existing credential
- runFlow: ../steps/manually_add_existing_credential.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down Expand Up @@ -41,6 +42,8 @@ tags:
text: "Register"
index: 1

- hideKeyboard

# access the passwords screen and assert username and password both saved
- runFlow: ../steps/access_passwords_screen.yaml
- tapOn: "usernameFromBackfill"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill login form
- tapOn:
Expand Down Expand Up @@ -43,6 +44,8 @@ tags:
text: "Change Password"
index: 1

- hideKeyboard

# access the passwords screen and assert username and password both saved
- runFlow: ../steps/access_passwords_screen.yaml
- tapOn: "usernameFromBackfill"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill login form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# manually add a credential
- runFlow: ../steps/manually_add_existing_credential.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
clearState: true

- runFlow: ../../shared/skip_all_onboarding.yaml
- hideKeyboard

# get to autofill form
- tapOn:
Expand Down
4 changes: 2 additions & 2 deletions autofill/autofill-impl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ android {
}

tasks.register('installForAutofillTesting', Exec) {
commandLine "$rootDir/gradlew", ':app:installInternalRelease', "-P$autofillDisableAuthRequirementBuildFlag"
commandLine "$rootDir/gradlew", ':app:installInternalRelease', "-Pforce-default-variant", "-P$autofillDisableAuthRequirementBuildFlag"
}

tasks.register('autofillTestLocal', Exec) {
commandLine 'maestro', 'test', '--include-tags', 'autofillNoAuthTests', "$rootDir/.maestro"
commandLine 'maestro', 'test', '--include-tags', 'autofillNoAuthTests,autofillPasswordGeneration,autofillBackfillingUsername', "$rootDir/.maestro"
dependsOn 'installForAutofillTesting'
}
Loading