Skip to content

Improve e2e times by using deep links to open examples#51786

Closed
mateoguzmana wants to merge 1 commit into
react:mainfrom
mateoguzmana:e2e/deeplink-to-improve-speed-time
Closed

Improve e2e times by using deep links to open examples#51786
mateoguzmana wants to merge 1 commit into
react:mainfrom
mateoguzmana:e2e/deeplink-to-improve-speed-time

Conversation

@mateoguzmana

@mateoguzmana mateoguzmana commented Jun 3, 2025

Copy link
Copy Markdown
Collaborator

Summary:

This is similar to #51590, but way better as it improves indirectly the flakiness for tests in the API tab. When the logbox is shown in debug mode, it interferes and sometimes makes that test fail, so this prevents that.

Android also takes more advantage of the improvement with this change, the previous PR only improved significantly iOS.

All the screens inside the RNTester seem to have a deeplink, which makes it easier to open the tests as the test cases are intended to check mostly specific behaviour of RN, and it is not necessary to have a middle step to find the specific components.

Maybe it would be good to run this a few times in CI to see if there are no side effects or flakiness added by opening deep links on CI builds.

Changelog:

[INTERNAL] - Improve e2e times by using deep links to open examples

Test Plan:

yarn e2e-test-android
yarn e2e-test-ios

iOS:

Before After
image image

Android:

Before After
image image

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 3, 2025
@mateoguzmana mateoguzmana force-pushed the e2e/deeplink-to-improve-speed-time branch from 5bb0895 to 8b1d0f7 Compare June 3, 2025 20:30
@mateoguzmana mateoguzmana marked this pull request as ready for review June 3, 2025 20:51
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 3, 2025

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 4, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@cortinico merged this pull request in 8960d9e.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @mateoguzmana in 8960d9e

When will my fix make it into a release? | How to file a pick request?

@cipolleschi

Copy link
Copy Markdown
Contributor

this fully broke the E2E tests for iOS in CI... :(

@cortinico

Copy link
Copy Markdown
Contributor

@mateoguzmana we had to revert this as it broke the CI test

@mateoguzmana

Copy link
Copy Markdown
Collaborator Author

Oh, that's annoying :( – sorry for the trouble, folks. Will check if the CI issue is reproducible and try to land it with a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants