Skip to content

Commit

Permalink
fix custom tabs maestro tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nalcalag committed Jun 3, 2024
1 parent d698127 commit 12cdb43
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .maestro/custom_tabs/custom_tabs_navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- assertVisible:
text: ".*Ready for a better, more private internet?.*"
- tapOn: "let's do it!"
- assertVisible:
text: ".*Privacy protections activated.*"
- tapOn: "choose your browser"
- runFlow:
when:
visible: "set as default"
commands:
- tapOn: "duckduckgo"
- tapOn: "set as default"
- assertVisible:
text: ".*Awesome! Welcome to the duck side.*"
- tapOn: "get started"

- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
Expand Down
16 changes: 15 additions & 1 deletion .maestro/custom_tabs/custom_tabs_navigation_new_tab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ tags:
clearState: true
stopApp: true

- runFlow: ../shared/onboarding.yaml
- assertVisible:
text: ".*Ready for a better, more private internet?.*"
- tapOn: "let's do it!"
- assertVisible:
text: ".*Privacy protections activated.*"
- tapOn: "choose your browser"
- runFlow:
when:
visible: "set as default"
commands:
- tapOn: "duckduckgo"
- tapOn: "set as default"
- assertVisible:
text: ".*Awesome! Welcome to the duck side.*"
- tapOn: "start browsing"

- tapOn:
id: "com.duckduckgo.mobile.android:id/browserMenuImageView"
Expand Down

0 comments on commit 12cdb43

Please sign in to comment.