From 16424c2ce0d10afff649a45f26ef4e3f4284157e Mon Sep 17 00:00:00 2001 From: Rob Hogan <2590098+robhogan@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:53:34 +0000 Subject: [PATCH] Send the visual deep link once on iOS (#59994) --- .../visual-tests/helpers/open-example.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/rn-tester/visual-tests/helpers/open-example.yml b/packages/rn-tester/visual-tests/helpers/open-example.yml index 1c6e4e16258..fdbb6e6fda0 100644 --- a/packages/rn-tester/visual-tests/helpers/open-example.yml +++ b/packages/rn-tester/visual-tests/helpers/open-example.yml @@ -5,9 +5,17 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo - waitForAnimationToEnd: timeout: 30000 - openLink: ${EXAMPLE_URL} -- waitForAnimationToEnd: - timeout: 15000 -- openLink: ${EXAMPLE_URL} +# On a slow Android emulator, the first link can arrive before the JS Linking +# listener is registered and be dropped, so Android sends it again once settled. +# On iOS, each link raises an "Open in RNTester?" dialog, so it's sent once and +# accepted. A second, unaccepted dialog leaves RNTester on the previous screen. +- runFlow: + when: + platform: Android + commands: + - waitForAnimationToEnd: + timeout: 15000 + - openLink: ${EXAMPLE_URL} - runFlow: when: platform: iOS