Skip to content

Commit ea70088

Browse files
committed
test(e2e): reorder assert-signed-in checks (Sign Out first)
Move 'Sign Out' to the lead assertion at 20s timeout. It's the same shape (TouchableOpacity > Text) that Android already passes against, so if it fails we know we're not actually signed in; if Sign Out passes but Manage Profile still times out, we have a specific iOS accessibility quirk to chase rather than a generic timing issue. Diagnostic-only reorder — same three assertions, different order.
1 parent 38bd76a commit ea70088

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

integration/mobile/flows/common/assert-signed-in.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ appId: com.clerk.clerkexpoquickstart
77
# Screenshot the state we landed in BEFORE the assertion so a future
88
# failure here has something to look at instead of just "timed out".
99
- takeScreenshot: debug-assert-signed-in-state
10-
- extendedWaitUntil:
11-
visible: "Manage Profile"
12-
timeout: 20000
10+
# Check "Sign Out" first — it's the most reliable signal that we're on
11+
# the signed-in landing screen, and the same assertion shape that Android
12+
# already passes against. If this fails we genuinely aren't signed in;
13+
# if THIS passes but "Manage Profile" below fails, we have an iOS-specific
14+
# accessibility issue with the TouchableOpacity wrapping the text.
1315
- extendedWaitUntil:
1416
visible: "Sign Out"
15-
timeout: 5000
17+
timeout: 20000
1618
- extendedWaitUntil:
1719
visible: "Welcome"
1820
timeout: 5000
21+
- extendedWaitUntil:
22+
visible: "Manage Profile"
23+
timeout: 10000

0 commit comments

Comments
 (0)