Skip to content

Commit

Permalink
Update maestro tests with new string in onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
CDRussell committed Feb 4, 2025
1 parent 449931d commit 1a7eca0
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ tags:
- launchApp:
clearState: true

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

# 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 @@ -11,11 +11,7 @@ tags:
- launchApp:
clearState: true

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

# get to autofill form
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: com.duckduckgo.mobile.android
name: "Autofill: Will backfill username in a multi-step registration form with a manually entered password"
tags:
- autofillBackfillingUsername
- x
---
# Pre-requisite: Requires app be built with -Pautofill-disable-auth-requirement flag to disable auth requirement

Expand All @@ -11,11 +11,7 @@ tags:
- launchApp:
clearState: true

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../steps/decline_autofill_prompt.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml

- runFlow: ../steps/manually_add_existing_credential.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

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

# optionally, run through onboarding if not already onboarded
- runFlow:
when:
visible: ".*Ready for a better, more private internet?.*"
file: ../../shared/pre_onboarding.yaml
- runFlow: ../../shared/pre_onboarding.yaml

# get to autofill form
- tapOn:
Expand Down
4 changes: 2 additions & 2 deletions .maestro/shared/pre_onboarding.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
appId: com.duckduckgo.mobile.android
---
- assertVisible:
text: ".*Ready for a better, more private internet?.*"
text: ".*Ready for a faster browser that keeps you protected?.*"
- tapOn: "let's do it!"
- assertVisible:
text: ".*Privacy protections activated.*"
text: "Protections activated!"
- scrollUntilVisible:
element:
text: "choose your browser"
Expand Down

0 comments on commit 1a7eca0

Please sign in to comment.