test: fix e2e testing setup

This commit is contained in:
Mo
2023-01-03 11:00:12 -06:00
parent 76d2d2112b
commit a447fa1ad7
5 changed files with 11 additions and 17 deletions

View File

@@ -40,16 +40,18 @@ Object.assign(window, SNLibrary);
### E2E Tests
To run a stable server environment for E2E tests that is up to date with production, clone the [e2e repository](https://github.com/standardnotes/e2e), then run:
To run a stable server environment for E2E tests that is up to date with production, clone the [self-hosted repository](https://github.com/standardnotes/self-hosted), then run:
In self-hosted repo:
```
yarn install --immutable
yarn start:local-server
yarn && yarn start
```
Wait for the `All services are up!` message.
Once the server infrastructure is ready, and you've built all packages, you can run the test suite in the browser via:
In app repo:
```
yarn start:server:e2e
```