From 9be0742d4e3fac590b9447611db6038ddece113d Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Mon, 26 Oct 2026 11:46:19 -0700 Subject: [PATCH] Settle RNTester before sending visual deep link Summary: 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 --- packages/rn-tester/visual-tests/helpers/open-example.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/rn-tester/visual-tests/helpers/open-example.yml b/packages/rn-tester/visual-tests/helpers/open-example.yml index a300ba8c7a3..1c6e4e16258 100644 --- a/packages/rn-tester/visual-tests/helpers/open-example.yml +++ b/packages/rn-tester/visual-tests/helpers/open-example.yml @@ -2,6 +2,11 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo --- - launchApp: stopApp: true +- waitForAnimationToEnd: + timeout: 30000 +- openLink: ${EXAMPLE_URL} +- waitForAnimationToEnd: + timeout: 15000 - openLink: ${EXAMPLE_URL} - runFlow: when: