mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 11:28:11 +08:00
Fix smoke test instructions (#1087)
This commit is contained in:
@@ -29,17 +29,16 @@ End to end tests use two env variables:
|
|||||||
|
|
||||||
On CI the end to end tests are run with `JEST_ENV` set to `prod` using the `smoke-test` make target.
|
On CI the end to end tests are run with `JEST_ENV` set to `prod` using the `smoke-test` make target.
|
||||||
|
|
||||||
To run end to end tests as they will be run on CI
|
To run end to end tests as they will be run on CI use the following command:
|
||||||
1. cellxgene should be built and installed as [specified in server dev](#install)
|
```
|
||||||
2. `export JEST_ENV='prod'`
|
JEST_ENV=prod JEST_CXG_PORT=5000 make pydist install-dist dev-env smoke-test
|
||||||
3. `export JEST_CXG_PORT=5000`
|
```
|
||||||
4. Run `npm run --prefix client/ smoke-test`
|
|
||||||
|
|
||||||
Run end to end tests interactively during development
|
Run end to end tests interactively during development
|
||||||
1. cellxgene should be installed as [specified in client dev](#install-1)
|
1. cellxgene should be installed as [specified in client dev](#install-1)
|
||||||
2. Follow [launch](#launch-1) instructions for client dev with dataset `example-dataset/pbmc3k`
|
1. Follow [launch](#launch-1) instructions for client dev with dataset `example-dataset/pbmc3k`
|
||||||
3. Run `make smoke-test`
|
1. Run `npm run e2e` or `make e2e` from the `client` directory
|
||||||
4. To debug a failing test `export JEST_ENV='debug'` and re-run.
|
1. To debug a failing test `export JEST_ENV='debug'` and re-run.
|
||||||
|
|
||||||
## Server dev
|
## Server dev
|
||||||
### Install
|
### Install
|
||||||
|
|||||||
Reference in New Issue
Block a user