update both README file regarding using the hosts network for local testing

This commit is contained in:
mahula 2022-07-19 11:03:25 +02:00
parent 5baf558e77
commit 5ab925d823
2 changed files with 2 additions and 4 deletions

View File

@ -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
```

View File

@ -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
```