Skip to content

Commit 0eb8a70

Browse files
authored
chore: mark v1.24.2 (#16046)
1 parent bd6f228 commit 0eb8a70

File tree

16 files changed

+74
-74
lines changed

16 files changed

+74
-74
lines changed

docs/src/ci.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ steps:
176176
name: 'Playwright Tests'
177177
runs-on: ubuntu-latest
178178
container:
179-
image: mcr.microsoft.com/playwright:v1.24.1-focal
179+
image: mcr.microsoft.com/playwright:v1.24.2-focal
180180
steps:
181181
- uses: actions/checkout@v3
182182
- uses: actions/setup-node@v2
@@ -194,7 +194,7 @@ steps:
194194
name: 'Playwright Tests'
195195
runs-on: ubuntu-latest
196196
container:
197-
image: mcr.microsoft.com/playwright:v1.24.1-focal
197+
image: mcr.microsoft.com/playwright:v1.24.2-focal
198198
steps:
199199
- uses: actions/checkout@v3
200200
- name: Set up Python
@@ -218,7 +218,7 @@ steps:
218218
name: 'Playwright Tests'
219219
runs-on: ubuntu-latest
220220
container:
221-
image: mcr.microsoft.com/playwright:v1.24.1-focal
221+
image: mcr.microsoft.com/playwright:v1.24.2-focal
222222
steps:
223223
- uses: actions/checkout@v3
224224
- uses: actions/setup-java@v3
@@ -239,7 +239,7 @@ steps:
239239
name: 'Playwright Tests'
240240
runs-on: ubuntu-latest
241241
container:
242-
image: mcr.microsoft.com/playwright:v1.24.1-focal
242+
image: mcr.microsoft.com/playwright:v1.24.2-focal
243243
steps:
244244
- uses: actions/checkout@v3
245245
- name: Setup dotnet
@@ -264,7 +264,7 @@ steps:
264264
name: 'Playwright Tests - ${{ matrix.project }} - Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }}'
265265
runs-on: ubuntu-latest
266266
container:
267-
image: mcr.microsoft.com/playwright:v1.24.1-focal
267+
image: mcr.microsoft.com/playwright:v1.24.2-focal
268268
strategy:
269269
fail-fast: false
270270
matrix:
@@ -297,7 +297,7 @@ Alternatively, you can use [Command line tools](./cli.md#install-system-dependen
297297
pool:
298298
vmImage: 'ubuntu-20.04'
299299
300-
container: mcr.microsoft.com/playwright:v1.24.1-focal
300+
container: mcr.microsoft.com/playwright:v1.24.2-focal
301301
302302
steps:
303303
...
@@ -311,7 +311,7 @@ Running Playwright on CircleCI requires the following steps:
311311

312312
```yml
313313
docker:
314-
- image: mcr.microsoft.com/playwright:v1.24.1-focal
314+
- image: mcr.microsoft.com/playwright:v1.24.2-focal
315315
environment:
316316
NODE_ENV: development # Needed if playwright is in `devDependencies`
317317
```
@@ -333,7 +333,7 @@ to run tests on Jenkins.
333333

334334
```groovy
335335
pipeline {
336-
agent { docker { image 'mcr.microsoft.com/playwright:v1.24.1-focal' } }
336+
agent { docker { image 'mcr.microsoft.com/playwright:v1.24.2-focal' } }
337337
stages {
338338
stage('e2e-tests') {
339339
steps {
@@ -351,7 +351,7 @@ pipeline {
351351
Bitbucket Pipelines can use public [Docker images as build environments](https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html). To run Playwright tests on Bitbucket, use our public Docker image ([see Dockerfile](./docker.md)).
352352

353353
```yml
354-
image: mcr.microsoft.com/playwright:v1.24.1-focal
354+
image: mcr.microsoft.com/playwright:v1.24.2-focal
355355
```
356356

357357
### GitLab CI
@@ -364,7 +364,7 @@ stages:
364364
365365
tests:
366366
stage: test
367-
image: mcr.microsoft.com/playwright:v1.24.1-focal
367+
image: mcr.microsoft.com/playwright:v1.24.2-focal
368368
script:
369369
...
370370
```

docs/src/docker.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ This image is published on [Docker Hub].
1414
### Pull the image
1515

1616
```bash js
17-
docker pull mcr.microsoft.com/playwright:v1.24.1-focal
17+
docker pull mcr.microsoft.com/playwright:v1.24.2-focal
1818
```
1919

2020
```bash python
21-
docker pull mcr.microsoft.com/playwright/python:v1.24.1-focal
21+
docker pull mcr.microsoft.com/playwright/python:v1.24.2-focal
2222
```
2323

2424
```bash csharp
25-
docker pull mcr.microsoft.com/playwright/dotnet:v1.24.1-focal
25+
docker pull mcr.microsoft.com/playwright/dotnet:v1.24.2-focal
2626
```
2727

2828
```bash java
29-
docker pull mcr.microsoft.com/playwright/java:v1.24.1-focal
29+
docker pull mcr.microsoft.com/playwright/java:v1.24.2-focal
3030
```
3131

3232
### Run the image
@@ -38,39 +38,39 @@ By default, the Docker image will use the `root` user to run the browsers. This
3838
On trusted websites, you can avoid creating a separate user and use root for it since you trust the code which will run on the browsers.
3939

4040
```bash js
41-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.24.1-focal /bin/bash
41+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.24.2-focal /bin/bash
4242
```
4343

4444
```bash python
45-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.24.1-focal /bin/bash
45+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.24.2-focal /bin/bash
4646
```
4747

4848
```bash csharp
49-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.24.1-focal /bin/bash
49+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.24.2-focal /bin/bash
5050
```
5151

5252
```bash java
53-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.24.1-focal /bin/bash
53+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.24.2-focal /bin/bash
5454
```
5555

5656
#### Crawling and scraping
5757

5858
On untrusted websites, it's recommended to use a separate user for launching the browsers in combination with the seccomp profile. Inside the container or if you are using the Docker image as a base image you have to use `adduser` for it.
5959

6060
```bash js
61-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.24.1-focal /bin/bash
61+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.24.2-focal /bin/bash
6262
```
6363

6464
```bash python
65-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.24.1-focal /bin/bash
65+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.24.2-focal /bin/bash
6666
```
6767

6868
```bash csharp
69-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.24.1-focal /bin/bash
69+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.24.2-focal /bin/bash
7070
```
7171

7272
```bash java
73-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.24.1-focal /bin/bash
73+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.24.2-focal /bin/bash
7474
```
7575

7676
[`seccomp_profile.json`](https://github.com/microsoft/playwright/blob/main/utils/docker/seccomp_profile.json) is needed to run Chromium with sandbox. This is a [default Docker seccomp profile](https://github.com/docker/engine/blob/d0d99b04cf6e00ed3fc27e81fc3d94e7eda70af3/profiles/seccomp/default.json) with extra user namespace cloning permissions:

docs/src/release-notes-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Read more about [component testing with Playwright](./test-components).
234234
}
235235
});
236236
```
237-
* Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image `mcr.microsoft.com/playwright:v1.24.1-jammy`.
237+
* Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image `mcr.microsoft.com/playwright:v1.24.2-jammy`.
238238

239239
### ⚠️ Breaking Changes ⚠️
240240

docs/src/test-snapshots-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The snapshot name `example-test-1-chromium-darwin.png` consists of a few parts:
5656
If you are not on the same operating system as your CI system, you can use Docker to generate/update the screenshots:
5757

5858
```bash
59-
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.24.1-focal /bin/bash
59+
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.24.2-focal /bin/bash
6060
npm install
6161
npx playwright test --update-snapshots
6262
```

0 commit comments

Comments
 (0)