Skip to content

Commit

Permalink
Make FC Maestro tests more resilient (#9355)
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe authored Sep 27, 2024
1 parent 4e154a7 commit 47cb85c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
8 changes: 6 additions & 2 deletions maestro/financial-connections/Livemode-Data-Finbank.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ tags:
- assertVisible: "Your accounts were connected."
- tapOn:
id: "done_button"
- assertVisible: ".*Completed!.*"
- assertVisible: ".*FinBank.*"
- scrollUntilVisible:
element:
text: ".*Completed!.*"
- scrollUntilVisible:
element:
text: ".*FinBank.*"
- stopRecording
8 changes: 6 additions & 2 deletions maestro/financial-connections/Livemode-Data-MXBank.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ tags:
timeout: 60000
- tapOn:
id: "done_button"
- assertVisible: ".*Completed!.*"
- assertVisible: ".*MX Bank.*"
- scrollUntilVisible:
element:
text: ".*Completed!.*"
- scrollUntilVisible:
element:
text: ".*MX Bank.*"
- stopRecording
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ tags:
- scrollUntilVisible:
element:
text: ".*Completed!.*"
- assertVisible: ".*StripeBank.*"
- scrollUntilVisible:
element:
text: ".*StripeBank.*"
- stopRecording
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ tags:
# CONFIRM AND COMPLETE
- tapOn:
id: "done_button"
- assertVisible: ".*Completed!.*"
- scrollUntilVisible:
element:
text: ".*Completed!.*"
- stopRecording
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ tags:
- tapOn: "Connect accounts" # select all accounts
# CONFIRM AND COMPLETE
- tapOn: "Done"
- assertVisible: ".*Completed!.*"
- assertVisible: ".*StripeBank.*"
- scrollUntilVisible:
element:
text: ".*Completed!.*"
- scrollUntilVisible:
element:
text: ".*StripeBank.*"
- stopRecording

0 comments on commit 47cb85c

Please sign in to comment.