Skip to content

Commit

Permalink
add tip notice on how to run tests faster
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Dec 1, 2022
1 parent 17e4485 commit 706967e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ To run the e2e tests:
2. Make sure Fastlane was initialized by running `bundle install`

3. Run the tests with `npm run test:e2e`.
> 💡 Tip: To run the tests locally faster, and you are only making changes to JS, it's recommended to
build the app once with `npm run android-build-e2e` and from then on run the tests with
`npm run test:e2e -- --buildMode js-only`. This will only rebuild the JS code, and not the
whole native app!

Ideally you want to run these tests on your branch before you want to merge your new feature to `main`.

Expand Down

0 comments on commit 706967e

Please sign in to comment.