Skip to content

Commit

Permalink
Update worflows with new onboarding (#5592)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1201807753394693/1209308863210226

### Description
After merging a new onboarding flow, most of our workflows are broken as
they are missing one step

### Steps to test this PR

- [ ] Run maestro tests
- [ ] Check they pass

### No UI changes

---------

Co-authored-by: Craig Russell <1336281+CDRussell@users.noreply.github.com>
  • Loading branch information
nalcalag and CDRussell authored Feb 4, 2025
1 parent 397271f commit 44481cb
Show file tree
Hide file tree
Showing 65 changed files with 118 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-10"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-11"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-12"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-13"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-14"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-1"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-2"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-3"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-4"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-5"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-6"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-6" # scroll until the ad-id-6 instead of ad-id-7 (context: https://app.asana.com/0/0/1204397066248823/1204415854211764/f)
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-8"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- launchApp:
clearState: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- inputText: "https://www.search-company.site/#ad-id-9"
- pressKey: Enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
Expand Down
2 changes: 1 addition & 1 deletion .maestro/app_tp/app_tp_onboarding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
Expand Down
2 changes: 1 addition & 1 deletion .maestro/autofill/1_autofill_shown_in_overflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ tags:
commands:
- launchApp:
clearState: true
- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml
- runFlow: steps/access_passwords_screen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
commands:
- launchApp:
clearState: true
- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml
- runFlow: steps/access_passwords_screen.yaml

- assertVisible:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
commands:
- launchApp:
clearState: true
- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
id: "omnibarTextInput"
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/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/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/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/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/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/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/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/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/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/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 @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
2 changes: 1 addition & 1 deletion .maestro/bookmarks/open_bookmark_and_navigate_back.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
2 changes: 1 addition & 1 deletion .maestro/browsing/visit_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
9 changes: 5 additions & 4 deletions .maestro/custom_tabs/custom_tabs_navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ tags:
commands:
- tapOn: "duckduckgo"
- tapOn: "set as default"
- assertVisible:
text: ".*Awesome! Welcome to the duck side.*"
- tapOn: "start browsing"

- assertVisible:
text: ".*where should I put your address bar?.*"
- tapOn: "next"
- assertVisible:
text: ".*Try a search!.*"
- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
- tapOn:
Expand Down
9 changes: 5 additions & 4 deletions .maestro/custom_tabs/custom_tabs_navigation_new_tab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ tags:
commands:
- tapOn: "duckduckgo"
- tapOn: "set as default"
- assertVisible:
text: ".*Awesome! Welcome to the duck side.*"
- tapOn: "start browsing"

- assertVisible:
text: ".*where should I put your address bar?.*"
- tapOn: "next"
- assertVisible:
text: ".*Try a search!.*"
- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
- tapOn:
Expand Down
2 changes: 1 addition & 1 deletion .maestro/favorites/favorites_bookmarks_add.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
2 changes: 1 addition & 1 deletion .maestro/favorites/favorites_bookmarks_delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- runFlow: ../shared/pre_onboarding.yaml

- tapOn:
text: "search or type URL"
Expand Down
Loading

0 comments on commit 44481cb

Please sign in to comment.