Skip to content

Commit 60de64e

Browse files
christophpurrermeta-codesync[bot]
authored andcommitted
Settle RNTester before sending visual deep link (#59518)
Summary: Pull Request resolved: #59518 Visual capture deep-links each example immediately after relaunching RNTester. On a slow emulator the JS Linking listener is not registered yet, so the link is dropped and every example assertion fails. Settle the UI, link, settle again, then link again: the second send lands after subscription and re-sending is a no-op. Settle waits never fail, tolerating restore to another screen. Changelog: [Internal] Differential Revision: D127624232 fbshipit-source-id: ddd873bdecdc4a6ead10cd38e2e7d45529cce2df
1 parent 6bfaf49 commit 60de64e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
22
---
33
- launchApp:
44
stopApp: true
5+
- waitForAnimationToEnd:
6+
timeout: 30000
7+
- openLink: ${EXAMPLE_URL}
8+
- waitForAnimationToEnd:
9+
timeout: 15000
510
- openLink: ${EXAMPLE_URL}
611
- runFlow:
712
when:

0 commit comments

Comments
 (0)