Skip to content

Commit

Permalink
fix(e2e): wait for incidents to load, use testTag to open New Case popup
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanchal committed Aug 18, 2023
1 parent 867fa27 commit 603dffb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .maestro/work-tests/new-case-view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ tags:
onFlowStart:
- runFlow: ../auth-tests/login.yaml
---
- tapOn: ".*new case.*"
# wait for incidents to load
- waitForAnimationToEnd:
timeout: 5000
# start searching after loading spinner is invisible
- assertNotVisible:
id: workIncidentsLoadingIndicator
- tapOn:
id: "workNewCaseFab"
- assertVisible: ".*new case.*"
- assertVisible:
text: "back"
Expand Down

0 comments on commit 603dffb

Please sign in to comment.