Skip to content

Commit 21dd987

Browse files
committed
Resolve iOS maestro targeting with regex
1 parent 9feb3dd commit 21dd987

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

maestro/01-create-account/C999005-create-n-delete-account.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ tags:
5757
- tapOn: "Confirm"
5858

5959
# Create button fades in - may encounter captcha
60+
# Use regex to match "View account information" or "View account information xx" (iOS)
6061
- extendedWaitUntil:
61-
visible: "View account information"
62+
visible: ${"View account information.*"}
6263
timeout: 15000
63-
- tapOn: "View account information"
64+
- tapOn: ${"View account information.*"}
6465
- assertVisible: "Username:"
6566
- assertVisible: ${maestro.copiedText}
6667
- assertVisible: "Password:"

0 commit comments

Comments
 (0)