Skip to content

Commit

Permalink
Update tests to handle new Settings UI (#2844)
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei authored May 13, 2024
1 parent d913910 commit 6078fd7
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .maestro/release_tests/emailprotection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,25 @@ tags:
file: ../shared/onboarding.yaml

- tapOn: Settings
- scroll
- scroll
- assertVisible: Email Protection
- tapOn: Email Protection
# Handling two different flows because of the current experiment
# TODO: Remove the unused flow when the experiment is completed.
- runFlow:
# New Settings UI
when:
visible: "Email Protection"
commands:
- tapOn: Email Protection
- assertVisible: Enable Email Protection
- tapOn: Enable Email Protection
- runFlow:
# Old Settings UI
when:
notVisible: "Email Protection"
commands:
- scroll
- scroll
- assertVisible: Email Protection
- tapOn: Email Protection
- assertVisible: Email privacy, simplified.
- assertVisible:
id: searchEntry
Expand Down

0 comments on commit 6078fd7

Please sign in to comment.