Skip to content

Commit

Permalink
improve docs on e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Nov 7, 2024
1 parent e42ea2b commit b131793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/RUNNING_LOCALLY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ To run e2e tests locally:
2. edit Procfile, remove the web task (it is for serving a static bundle which we don't want in order not to lose live-reload support)
3. start mongo, redis, elastic services
4. create a virtual environment in e2e/server, install dependencies and start honcho
5. run `TZ="Australia/Sydney" npm run cypress-ui` in `e2e` folder. Notice we set a timezone environment variable before launching cypress. Some tests depend on a timezone and would fail it timezone wasn't set.
5. run `E2E="true" TZ="Australia/Sydney" npm run cypress-ui` in `e2e` folder. Notice we set a timezone environment variable before launching cypress. Some tests depend on a timezone and would fail it timezone wasn't set. E2E environment variable needs to be set to a dedicated database for e2e is used instead of overwriting your local database.

0 comments on commit b131793

Please sign in to comment.