Skip to content

Commit

Permalink
Ensure maestro test works with and without gesture navigation (#5350)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/488551667048375/1208915665635635/f

### Description
Simplifies a UI test which currently kills the app by activating
multi-tasking view and swiping the app away. Replaces with a method
which also works with gesture navigation.

### Steps to test this PR
- qa optional
- [optional] run
`.maestro/privacy_tests/7_-_Browser_restart_mid-session.yaml` where
gesture navigation on and off (e.g., on emulators running API 30 and API
34 which have different nav behaviours by default)

Co-authored-by: Craig Russell <[email protected]>
  • Loading branch information
CDRussell and CDRussell authored Dec 5, 2024
1 parent 2250cb5 commit 5056eb9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .maestro/privacy_tests/7_-_Browser_restart_mid-session.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ tags:
text: "convert.ad-company.site"
- action: back
- action: back
- tapOn:
id: "com.android.systemui:id/recent_apps"
- swipe:
start: 100,500
end: 100,200
- killApp
- launchApp:
clearState: false
- assertVisible:
Expand Down

0 comments on commit 5056eb9

Please sign in to comment.