Skip to content

Commit 16424c2

Browse files
authored
Send the visual deep link once on iOS (#59994)
1 parent 751ba61 commit 16424c2

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎packages/rn-tester/visual-tests/helpers/open-example.yml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
55
- waitForAnimationToEnd:
66
timeout: 30000
77
- openLink: ${EXAMPLE_URL}
8-
- waitForAnimationToEnd:
9-
timeout: 15000
10-
- openLink: ${EXAMPLE_URL}
8+
# On a slow Android emulator, the first link can arrive before the JS Linking
9+
# listener is registered and be dropped, so Android sends it again once settled.
10+
# On iOS, each link raises an "Open in RNTester?" dialog, so it's sent once and
11+
# accepted. A second, unaccepted dialog leaves RNTester on the previous screen.
12+
- runFlow:
13+
when:
14+
platform: Android
15+
commands:
16+
- waitForAnimationToEnd:
17+
timeout: 15000
18+
- openLink: ${EXAMPLE_URL}
1119
- runFlow:
1220
when:
1321
platform: iOS

0 commit comments

Comments
 (0)