Skip to content

Commit

Permalink
update e2e tests to relaunch the app with clear state
Browse files Browse the repository at this point in the history
  • Loading branch information
axelniklasson committed Oct 5, 2024
1 parent 7efc075 commit ef023fd
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 ef023fd

Please sign in to comment.