mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
doc: add e2e testing instruction
This commit is contained in:
1 parent
6ee87823f1
commit
440db20f5f
1 file changed
+14
@@ -19,6 +19,20 @@ Run everything (frontend, backend, db, swagger, quests):
|
|||||||
docker compose build
|
docker compose build
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Run Cypress locally, using the current development containers:
|
||||||
|
|
||||||
|
docker compose up -d
|
||||||
|
yarn test:e2e
|
||||||
|
|
||||||
|
Run Cypress in container, create brand-new containers along with it:
|
||||||
|
|
||||||
|
docker compose -f docker-compose.testing.yml run cypress
|
||||||
|
|
||||||
|
# tearing off the containers
|
||||||
|
docker compose -f docker-compose.testing.yml down
|
||||||
|
|
||||||
### Deployment
|
### Deployment
|
||||||
|
|
||||||
docker compose -f docker-compose.prod.yml build
|
docker compose -f docker-compose.prod.yml build
|
||||||
|
|||||||
Reference in new issue
Block a user