Skip to content

Commit 2f3d88f

Browse files
authored
chore: mark 1.34.2 (#23242)
1 parent ba85623 commit 2f3d88f

File tree

18 files changed

+91
-91
lines changed

18 files changed

+91
-91
lines changed

docs/src/ci.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jobs:
232232
name: 'Playwright Tests'
233233
runs-on: ubuntu-latest
234234
container:
235-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
235+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
236236
steps:
237237
- uses: actions/checkout@v3
238238
- uses: actions/setup-node@v3
@@ -256,7 +256,7 @@ jobs:
256256
name: 'Playwright Tests'
257257
runs-on: ubuntu-latest
258258
container:
259-
image: mcr.microsoft.com/playwright/python:v1.34.1-jammy
259+
image: mcr.microsoft.com/playwright/python:v1.34.2-jammy
260260
steps:
261261
- uses: actions/checkout@v3
262262
- name: Set up Python
@@ -284,7 +284,7 @@ jobs:
284284
name: 'Playwright Tests'
285285
runs-on: ubuntu-latest
286286
container:
287-
image: mcr.microsoft.com/playwright/java:v1.34.1-jammy
287+
image: mcr.microsoft.com/playwright/java:v1.34.2-jammy
288288
steps:
289289
- uses: actions/checkout@v3
290290
- uses: actions/setup-java@v3
@@ -309,7 +309,7 @@ jobs:
309309
name: 'Playwright Tests'
310310
runs-on: ubuntu-latest
311311
container:
312-
image: mcr.microsoft.com/playwright/dotnet:v1.34.1-jammy
312+
image: mcr.microsoft.com/playwright/dotnet:v1.34.2-jammy
313313
steps:
314314
- uses: actions/checkout@v3
315315
- name: Setup dotnet
@@ -338,7 +338,7 @@ jobs:
338338
name: 'Playwright Tests - ${{ matrix.project }} - Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }}'
339339
runs-on: ubuntu-latest
340340
container:
341-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
341+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
342342
strategy:
343343
fail-fast: false
344344
matrix:
@@ -413,7 +413,7 @@ jobs:
413413
- deployment: Run_E2E_Tests
414414
pool:
415415
vmImage: ubuntu-22.04
416-
container: mcr.microsoft.com/playwright:v1.34.1-jammy
416+
container: mcr.microsoft.com/playwright:v1.34.2-jammy
417417
environment: testing
418418
strategy:
419419
runOnce:
@@ -439,7 +439,7 @@ jobs:
439439
- deployment: Run_E2E_Tests
440440
pool:
441441
vmImage: ubuntu-22.04
442-
container: mcr.microsoft.com/playwright:v1.34.1-jammy
442+
container: mcr.microsoft.com/playwright:v1.34.2-jammy
443443
environment: testing
444444
strategy:
445445
runOnce:
@@ -483,7 +483,7 @@ Running Playwright on CircleCI is very similar to running on GitHub Actions. In
483483
executors:
484484
pw-jammy-development:
485485
docker:
486-
- image: mcr.microsoft.com/playwright:v1.34.1-jammy
486+
- image: mcr.microsoft.com/playwright:v1.34.2-jammy
487487
```
488488

489489
Note: When using the docker agent definition, you are specifying the resource class of where playwright runs to the 'medium' tier [here](https://circleci.com/docs/configuration-reference?#docker-execution-environment). The default behavior of Playwright is to set the number of workers to the detected core count (2 in the case of the medium tier). Overriding the number of workers to greater than this number will cause unnecessary timeouts and failures.
@@ -507,7 +507,7 @@ to run tests on Jenkins.
507507

508508
```groovy
509509
pipeline {
510-
agent { docker { image 'mcr.microsoft.com/playwright:v1.34.1-jammy' } }
510+
agent { docker { image 'mcr.microsoft.com/playwright:v1.34.2-jammy' } }
511511
stages {
512512
stage('e2e-tests') {
513513
steps {
@@ -525,7 +525,7 @@ pipeline {
525525
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)).
526526

527527
```yml
528-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
528+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
529529
```
530530

531531
### GitLab CI
@@ -538,7 +538,7 @@ stages:
538538
539539
tests:
540540
stage: test
541-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
541+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
542542
script:
543543
...
544544
```
@@ -554,7 +554,7 @@ stages:
554554
555555
tests:
556556
stage: test
557-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
557+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
558558
parallel: 7
559559
script:
560560
- npm ci
@@ -569,7 +569,7 @@ stages:
569569
570570
tests:
571571
stage: test
572-
image: mcr.microsoft.com/playwright:v1.34.1-jammy
572+
image: mcr.microsoft.com/playwright:v1.34.2-jammy
573573
parallel:
574574
matrix:
575575
- PROJECT: ['chromium', 'webkit']

docs/src/docker.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ This Docker image is intended to be used for testing and development purposes on
1818
### Pull the image
1919

2020
```bash js
21-
docker pull mcr.microsoft.com/playwright:v1.34.1-jammy
21+
docker pull mcr.microsoft.com/playwright:v1.34.2-jammy
2222
```
2323

2424
```bash python
25-
docker pull mcr.microsoft.com/playwright/python:v1.34.1-jammy
25+
docker pull mcr.microsoft.com/playwright/python:v1.34.2-jammy
2626
```
2727

2828
```bash csharp
29-
docker pull mcr.microsoft.com/playwright/dotnet:v1.34.1-jammy
29+
docker pull mcr.microsoft.com/playwright/dotnet:v1.34.2-jammy
3030
```
3131

3232
```bash java
33-
docker pull mcr.microsoft.com/playwright/java:v1.34.1-jammy
33+
docker pull mcr.microsoft.com/playwright/java:v1.34.2-jammy
3434
```
3535

3636
### Run the image
@@ -42,39 +42,39 @@ By default, the Docker image will use the `root` user to run the browsers. This
4242
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.
4343

4444
```bash js
45-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.34.1-jammy /bin/bash
45+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.34.2-jammy /bin/bash
4646
```
4747

4848
```bash python
49-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.34.1-jammy /bin/bash
49+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.34.2-jammy /bin/bash
5050
```
5151

5252
```bash csharp
53-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.34.1-jammy /bin/bash
53+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.34.2-jammy /bin/bash
5454
```
5555

5656
```bash java
57-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.34.1-jammy /bin/bash
57+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.34.2-jammy /bin/bash
5858
```
5959

6060
#### Crawling and scraping
6161

6262
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.
6363

6464
```bash js
65-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.34.1-jammy /bin/bash
65+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.34.2-jammy /bin/bash
6666
```
6767

6868
```bash python
69-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.34.1-jammy /bin/bash
69+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.34.2-jammy /bin/bash
7070
```
7171

7272
```bash csharp
73-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.34.1-jammy /bin/bash
73+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.34.2-jammy /bin/bash
7474
```
7575

7676
```bash java
77-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.34.1-jammy /bin/bash
77+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.34.2-jammy /bin/bash
7878
```
7979

8080
[`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/test-snapshots-js.md

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

4444
```bash
45-
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.34.1-jammy /bin/bash
45+
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.34.2-jammy /bin/bash
4646
npm install
4747
npx playwright test --update-snapshots
4848
```

0 commit comments

Comments
 (0)