Skip to content

Commit

Permalink
chore: update e2e tests to relaunch the app with clear state (#2077)
Browse files Browse the repository at this point in the history
update e2e tests to relaunch the app with clear state
  • Loading branch information
axelniklasson authored Oct 10, 2024
1 parent c986eb6 commit 5cb09ff
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/workspaces/wikipedia/android-advanced-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ tags:
- runScript: scripts/getSearchQuery.js
- inputText: ${output.result}
- assertVisible: ${output.result}
- runFlow: subflows/launch-clearstate-android.yaml
1 change: 1 addition & 0 deletions e2e/workspaces/wikipedia/ios-advanced-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ tags:
- eraseText
- inputText: qwerty
- assertVisible: ${output.result}
- runFlow: subflows/launch-clearstate-ios.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appId: org.wikipedia
---
- launchApp:
clearState: true
- assertVisible: "Continue"
- assertVisible: "Skip"
6 changes: 6 additions & 0 deletions e2e/workspaces/wikipedia/subflows/launch-clearstate-ios.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appId: org.wikimedia.wikipedia
---
- launchApp:
clearState: true
- assertVisible: "Next"
- assertVisible: "Skip"

0 comments on commit 5cb09ff

Please sign in to comment.