mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update both README file regarding using the hosts network for local testing
This commit is contained in:
parent
5baf558e77
commit
5ab925d823
@ -16,11 +16,9 @@ to boot up the DEV system, before running the test.
|
||||
## Execute the test
|
||||
|
||||
```bash
|
||||
cd e2e-tests/cypress
|
||||
|
||||
# build a Docker image from the Dockerfile
|
||||
docker build -t gradido_e2e-tests-cypress .
|
||||
|
||||
# run the Docker container and execute the given tests
|
||||
docker run -it gradido_e2e-tests-cypress yarn run cypress-e2e-tests
|
||||
docker run -it --network=host gradido_e2e-tests-cypress yarn run cypress-e2e-tests
|
||||
```
|
||||
|
||||
@ -20,5 +20,5 @@ to boot up the DEV system, before running the test.
|
||||
docker build -t gradido_e2e-tests-playwright .
|
||||
|
||||
# run the Docker container and execute the given tests
|
||||
docker run -it gradido_e2e-tests-playwright yarn playwright-e2e-tests
|
||||
docker run -it --network=host gradido_e2e-tests-playwright yarn playwright-e2e-tests
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user