diff --git a/e2e-tests/cypress/README.md b/e2e-tests/cypress/README.md index 69c1d7642..b1ddae514 100644 --- a/e2e-tests/cypress/README.md +++ b/e2e-tests/cypress/README.md @@ -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 ``` diff --git a/e2e-tests/playwright/README.md b/e2e-tests/playwright/README.md index a5fb742ef..a3a2b34bb 100644 --- a/e2e-tests/playwright/README.md +++ b/e2e-tests/playwright/README.md @@ -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 ```