Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ We build the new image, run the container from the image and execute the Cypress
```shell
cd examples/basic # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker build . -f Dockerfile.base -t test-base # Build a new image
docker build -f Dockerfile.base -t test-base . # Build a new image
docker run -it --rm --entrypoint bash test-base -c "npx cypress run" # Run Cypress test in container
```
2 changes: 1 addition & 1 deletion browsers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ We build the new image, run the container from the image and execute the Cypress
```shell
cd examples/basic # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker build . -f Dockerfile.browsers -t test-browsers # Build a new image
docker build -f Dockerfile.browsers -t test-browsers . # Build a new image
docker run -it --rm --entrypoint bash test-browsers -c "npx cypress run -b chrome" # Run Cypress test in container using Chrome
```
2 changes: 1 addition & 1 deletion examples/chromium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ We build the new image, run the container from the image and execute the Cypress
```shell
cd examples/chromium # Use a pre-configured simple Cypress E2E project
npm ci # Install all dependencies
docker build . -t test-chromium # Build a new image
docker build -t test-chromium . # Build a new image
docker run -it --rm --entrypoint bash test-chromium -c "npx cypress run --browser chromium" # Run Cypress test using Chromium
```
2 changes: 1 addition & 1 deletion examples/firefox-esr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ We build the new image, run the container from the image and execute the Cypress
```shell
cd examples/firefox-esr # Use a pre-configured simple Cypress E2E project
npm ci # Install all dependencies
docker build . -t test-firefox-esr # Build a new image
docker build -t test-firefox-esr . # Build a new image
docker run -it --rm --entrypoint bash test-firefox-esr -c "npx cypress run --browser firefox" # Run Cypress test using Firefox ESR
```
8 changes: 4 additions & 4 deletions factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ RUN npx cypress install
Then, in the same directory as the `Dockerfile`, run the following commands to build the Docker image and run Cypress against the Chrome browser.

```bash
docker build . -t test
docker build -t test .
docker run -it --rm test npx cypress run -b chrome
```

Expand All @@ -202,7 +202,7 @@ RUN npx cypress install
Run the Docker commands:

```bash
docker build . --build-arg CHROME_VERSION='139.0.7258.154-1' --build-arg EDGE_VERSION='139.0.3405.125-1' --build-arg FIREFOX_VERSION='142.0.1' -t test
docker build --build-arg CHROME_VERSION='139.0.7258.154-1' --build-arg EDGE_VERSION='139.0.3405.125-1' --build-arg FIREFOX_VERSION='142.0.1' -t test .
docker run -it --rm test npx cypress run -b chrome
```

Expand Down Expand Up @@ -264,7 +264,7 @@ RUN npx cypress install
Then, in the same directory as the `Dockerfile`, run the following commands to build the Docker image and run Cypress against the Chrome browser.

```bash
docker build . -t test
docker build -t test .
docker run -it --rm test npx cypress run -b chrome
```

Expand All @@ -277,7 +277,7 @@ To build a custom image behind a corporate proxy, it is possible to set the opti
Example with the `--build-arg` flag :

```bash
docker build . --build-arg HTTP_PROXY=http://my-corporate-proxy.com:3128 -t test
docker build --build-arg HTTP_PROXY=http://my-corporate-proxy.com:3128 -t test .
```

## Version Testing
Expand Down