Skip to content

[NT-2639] Improve React Native e2e run times#151

Merged
Alex Freas (akfreas) merged 8 commits intomainfrom
improve-e2e-build-times
Feb 27, 2026
Merged

[NT-2639] Improve React Native e2e run times#151
Alex Freas (akfreas) merged 8 commits intomainfrom
improve-e2e-build-times

Conversation

@akfreas
Copy link
Copy Markdown
Collaborator

@akfreas Alex Freas (akfreas) commented Feb 25, 2026

Improve the run time of the React Native e2e tests by:

  • Running the app in release mode, which doesn't require metro bundler and is optimized for speed
  • Sharding the execution of tests into 2 test runners
  • Storing the built APK and sharing across shards

Comment thread implementations/react-native/e2e/navigation-screen-tracking.test.js Outdated
@akfreas Alex Freas (akfreas) changed the title Testing out improvements to e2e testing speed [NT-2639] Improve React Native e2e run times Feb 26, 2026
@akfreas Alex Freas (akfreas) force-pushed the improve-e2e-build-times branch 2 times, most recently from ccd442c to ac0981f Compare February 26, 2026 15:28
@akfreas Alex Freas (akfreas) merged commit db2e38d into main Feb 27, 2026
29 checks passed
@akfreas Alex Freas (akfreas) deleted the improve-e2e-build-times branch February 27, 2026 12:26
Alex Freas (akfreas) added a commit that referenced this pull request Feb 27, 2026
* Testing out improvements to e2e testing speed: multiple workers, don't clear out state from test to test, use release mode

* Add hermes-compiler to rn implementation package

* Properly pass workers param when running e2e

* Trying shard strategy for running parallel tests

* Add allow cleartext traffic flag to android manifest

* Enable gradle caching

* Revert change on nav screen tracking

* Rely on android emulator runner to add quick boot snapshot, remove -no-snapshot flags on emu options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants