Skip to content

Commit

Permalink
hide dax dialogs if visible and cancel keyboard after fireproof
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Apr 8, 2024
1 parent 75ae662 commit 8e674dd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .maestro/data_clearing_tests/01_fire_proofing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ tags:
id: "searchEntry"
- inputText: "https://setcookie.net"
- pressKey: Enter
- runFlow:
file: ../shared/hide_daxdialogs.yaml

# Set a cookie
- assertVisible: "Cookie Test"
Expand All @@ -44,6 +46,8 @@ tags:
- tapOn: "Close Tabs and Clear Data"
- tapOn:
id: "alert.forget-data.confirm"
- assertVisible: "Cancel"
- tapOn: "Cancel"
- assertVisible:
id: "searchEntry"
- tapOn: "Close Tabs and Clear Data"
Expand Down
11 changes: 11 additions & 0 deletions .maestro/shared/hide_daxdialogs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
appId: com.duckduckgo.mobile.ios
---

- runFlow:
when:
visible:
id: "DaxIcon"
commands:
- tapOn: "Hide"
- tapOn: "Hide Tips Forever"

0 comments on commit 8e674dd

Please sign in to comment.