chore: cut 1.28 branch (#18746)

This commit is contained in:
Andrey Lushnikov 2022-11-11 15:30:15 -08:00 committed by GitHub
parent 251cc9e229
commit bc78db07df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 85 additions and 85 deletions

View File

@ -176,7 +176,7 @@ steps:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
@ -194,7 +194,7 @@ steps:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
steps:
- uses: actions/checkout@v3
- name: Set up Python
@ -218,7 +218,7 @@ steps:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
@ -239,7 +239,7 @@ steps:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
@ -264,7 +264,7 @@ steps:
name: 'Playwright Tests - ${{ matrix.project }} - Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }}'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
strategy:
fail-fast: false
matrix:
@ -299,7 +299,7 @@ jobs:
- deployment: Run_E2E_Tests
pool:
vmImage: ubuntu-20.04
container: mcr.microsoft.com/playwright:v1.28.0-focal
container: mcr.microsoft.com/playwright:v1.29.0-focal
environment: testing
strategy:
runOnce:
@ -325,7 +325,7 @@ jobs:
- deployment: Run_E2E_Tests
pool:
vmImage: ubuntu-20.04
container: mcr.microsoft.com/playwright:v1.28.0-focal
container: mcr.microsoft.com/playwright:v1.29.0-focal
environment: testing
strategy:
runOnce:
@ -368,7 +368,7 @@ Running Playwright on Circle CI is very similar to running on GitHub Actions. In
executors:
pw-focal-development:
docker:
- image: mcr.microsoft.com/playwright:v1.28.0-focal
- image: mcr.microsoft.com/playwright:v1.29.0-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
```
@ -404,7 +404,7 @@ to run tests on Jenkins.
```groovy
pipeline {
agent { docker { image 'mcr.microsoft.com/playwright:v1.28.0-focal' } }
agent { docker { image 'mcr.microsoft.com/playwright:v1.29.0-focal' } }
stages {
stage('e2e-tests') {
steps {
@ -422,7 +422,7 @@ pipeline {
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)).
```yml
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
```
### GitLab CI
@ -435,7 +435,7 @@ stages:
tests:
stage: test
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
script:
...
```
@ -451,7 +451,7 @@ stages:
tests:
stage: test
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
parallel: 7
script:
- npm ci
@ -466,7 +466,7 @@ stages:
tests:
stage: test
image: mcr.microsoft.com/playwright:v1.28.0-focal
image: mcr.microsoft.com/playwright:v1.29.0-focal
parallel:
matrix:
- PROJECT: ['chromium', 'webkit']

View File

@ -14,19 +14,19 @@ This image is published on [Docker Hub].
### Pull the image
```bash js
docker pull mcr.microsoft.com/playwright:v1.28.0-focal
docker pull mcr.microsoft.com/playwright:v1.29.0-focal
```
```bash python
docker pull mcr.microsoft.com/playwright/python:v1.28.0-focal
docker pull mcr.microsoft.com/playwright/python:v1.29.0-focal
```
```bash csharp
docker pull mcr.microsoft.com/playwright/dotnet:v1.28.0-focal
docker pull mcr.microsoft.com/playwright/dotnet:v1.29.0-focal
```
```bash java
docker pull mcr.microsoft.com/playwright/java:v1.28.0-focal
docker pull mcr.microsoft.com/playwright/java:v1.29.0-focal
```
### Run the image
@ -38,19 +38,19 @@ By default, the Docker image will use the `root` user to run the browsers. This
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.
```bash js
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.29.0-focal /bin/bash
```
```bash python
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.29.0-focal /bin/bash
```
```bash csharp
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.29.0-focal /bin/bash
```
```bash java
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.29.0-focal /bin/bash
```
#### Crawling and scraping
@ -58,19 +58,19 @@ docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.28.0-focal /
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.
```bash js
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.29.0-focal /bin/bash
```
```bash python
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.29.0-focal /bin/bash
```
```bash csharp
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.29.0-focal /bin/bash
```
```bash java
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.28.0-focal /bin/bash
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.29.0-focal /bin/bash
```
[`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:

View File

@ -58,7 +58,7 @@ public class App {
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</dependency>
</dependencies>
<build>

View File

@ -152,7 +152,7 @@ This version was also tested against the following stable channels:
### Announcements
* 🎁 We now ship Ubuntu 22.04 Jammy Jellyfish docker image: `mcr.microsoft.com/playwright:v1.28.0-jammy`.
* 🎁 We now ship Ubuntu 22.04 Jammy Jellyfish docker image: `mcr.microsoft.com/playwright:v1.29.0-jammy`.
* 🪦 This is the last release with macOS 10.15 support (deprecated as of 1.21).
* 🪦 This is the last release with Node.js 12 support, we recommend upgrading to Node.js LTS (16).
* ⚠️ Ubuntu 18 is now deprecated and will not be supported as of Dec 2022.
@ -402,7 +402,7 @@ Read more about [component testing with Playwright](./test-components).
}
});
```
* Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image `mcr.microsoft.com/playwright:v1.28.0-jammy`.
* Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image `mcr.microsoft.com/playwright:v1.29.0-jammy`.
### ⚠️ Breaking Changes ⚠️

View File

@ -97,7 +97,7 @@ This version was also tested against the following stable channels:
### Announcements
* 🎁 We now ship Ubuntu 22.04 Jammy Jellyfish docker image: `mcr.microsoft.com/playwright/python:v1.28.0-jammy`.
* 🎁 We now ship Ubuntu 22.04 Jammy Jellyfish docker image: `mcr.microsoft.com/playwright/python:v1.29.0-jammy`.
* 🪦 This is the last release with macOS 10.15 support (deprecated as of 1.21).
* ⚠️ Ubuntu 18 is now deprecated and will not be supported as of Dec 2022.

View File

@ -56,7 +56,7 @@ The snapshot name `example-test-1-chromium-darwin.png` consists of a few parts:
If you are not on the same operating system as your CI system, you can use Docker to generate/update the screenshots:
```bash
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.28.0-focal /bin/bash
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.29.0-focal /bin/bash
npm install
npx playwright test --update-snapshots
```

66
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "playwright-internal",
"version": "1.28.0-next",
"version": "1.29.0-next",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playwright-internal",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"workspaces": [
"packages/*"
@ -5858,11 +5858,11 @@
"version": "0.0.0"
},
"packages/playwright": {
"version": "1.28.0-next",
"version": "1.29.0-next",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
},
"bin": {
"playwright": "cli.js"
@ -5872,11 +5872,11 @@
}
},
"packages/playwright-chromium": {
"version": "1.28.0-next",
"version": "1.29.0-next",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
},
"bin": {
"playwright": "cli.js"
@ -5886,7 +5886,7 @@
}
},
"packages/playwright-core": {
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"bin": {
"playwright": "cli.js"
@ -5897,10 +5897,10 @@
},
"packages/playwright-ct-react": {
"name": "@playwright/experimental-ct-react",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.1"
},
@ -5937,10 +5937,10 @@
},
"packages/playwright-ct-solid": {
"name": "@playwright/experimental-ct-solid",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"vite": "^3.2.1",
"vite-plugin-solid": "^2.3.10"
},
@ -5953,10 +5953,10 @@
},
"packages/playwright-ct-svelte": {
"name": "@playwright/experimental-ct-svelte",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"vite": "^3.2.1"
},
@ -5969,10 +5969,10 @@
},
"packages/playwright-ct-vue": {
"name": "@playwright/experimental-ct-vue",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-vue": "^3.2.0",
"vite": "^3.2.1"
},
@ -6018,10 +6018,10 @@
},
"packages/playwright-ct-vue2": {
"name": "@playwright/experimental-ct-vue2",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-vue2": "^2.0.0",
"vite": "^3.2.1"
},
@ -6033,11 +6033,11 @@
}
},
"packages/playwright-firefox": {
"version": "1.28.0-next",
"version": "1.29.0-next",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
},
"bin": {
"playwright": "cli.js"
@ -6048,11 +6048,11 @@
},
"packages/playwright-test": {
"name": "@playwright/test",
"version": "1.28.0-next",
"version": "1.29.0-next",
"license": "Apache-2.0",
"dependencies": {
"@types/node": "*",
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
},
"bin": {
"playwright": "cli.js"
@ -6062,11 +6062,11 @@
}
},
"packages/playwright-webkit": {
"version": "1.28.0-next",
"version": "1.29.0-next",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
},
"bin": {
"playwright": "cli.js"
@ -6637,7 +6637,7 @@
"@playwright/experimental-ct-react": {
"version": "file:packages/playwright-ct-react",
"requires": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.1"
},
@ -6664,7 +6664,7 @@
"@playwright/experimental-ct-solid": {
"version": "file:packages/playwright-ct-solid",
"requires": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"solid-js": "^1.4.7",
"vite": "^3.2.1",
"vite-plugin-solid": "^2.3.10"
@ -6673,7 +6673,7 @@
"@playwright/experimental-ct-svelte": {
"version": "file:packages/playwright-ct-svelte",
"requires": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"svelte": "^3.49.0",
"vite": "^3.2.1"
@ -6682,7 +6682,7 @@
"@playwright/experimental-ct-vue": {
"version": "file:packages/playwright-ct-vue",
"requires": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-vue": "^3.2.0",
"vite": "^3.2.1"
},
@ -6717,7 +6717,7 @@
"@playwright/experimental-ct-vue2": {
"version": "file:packages/playwright-ct-vue2",
"requires": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-vue2": "^2.0.0",
"vite": "^3.2.1",
"vue": "^2.7.13"
@ -6727,7 +6727,7 @@
"version": "file:packages/playwright-test",
"requires": {
"@types/node": "*",
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
},
"@rollup/pluginutils": {
@ -8831,13 +8831,13 @@
"playwright": {
"version": "file:packages/playwright",
"requires": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
},
"playwright-chromium": {
"version": "file:packages/playwright-chromium",
"requires": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
},
"playwright-core": {
@ -8846,13 +8846,13 @@
"playwright-firefox": {
"version": "file:packages/playwright-firefox",
"requires": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
},
"playwright-webkit": {
"version": "file:packages/playwright-webkit",
"requires": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
},
"postcss": {

View File

@ -1,7 +1,7 @@
{
"name": "playwright-internal",
"private": true,
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",

View File

@ -1,6 +1,6 @@
{
"name": "playwright-chromium",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate Chromium",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -28,6 +28,6 @@
"install": "node install.js"
},
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "playwright-core",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/experimental-ct-react",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "Playwright Component Testing for React",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -27,7 +27,7 @@
},
"dependencies": {
"@vitejs/plugin-react": "^2.2.0",
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"vite": "^3.2.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/experimental-ct-solid",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "Playwright Component Testing for Solid",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -28,7 +28,7 @@
"dependencies": {
"vite": "^3.2.1",
"vite-plugin-solid": "^2.3.10",
"@playwright/test": "1.28.0-next"
"@playwright/test": "1.29.0-next"
},
"devDependencies": {
"solid-js": "^1.4.7"

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/experimental-ct-svelte",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "Playwright Component Testing for Svelte",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -26,7 +26,7 @@
}
},
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"vite": "^3.2.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/experimental-ct-vue",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "Playwright Component Testing for Vue",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -27,7 +27,7 @@
},
"dependencies": {
"@vitejs/plugin-vue": "^3.2.0",
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"vite": "^3.2.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/experimental-ct-vue2",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "Playwright Component Testing for Vue2",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -26,7 +26,7 @@
}
},
"dependencies": {
"@playwright/test": "1.28.0-next",
"@playwright/test": "1.29.0-next",
"@vitejs/plugin-vue2": "^2.0.0",
"vite": "^3.2.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "playwright-firefox",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate Firefox",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -28,6 +28,6 @@
"install": "node install.js"
},
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@playwright/test",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -34,6 +34,6 @@
"license": "Apache-2.0",
"dependencies": {
"@types/node": "*",
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "playwright-webkit",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate WebKit",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -28,6 +28,6 @@
"install": "node install.js"
},
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "playwright",
"version": "1.28.0-next",
"version": "1.29.0-next",
"description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
@ -28,6 +28,6 @@
"install": "node install.js"
},
"dependencies": {
"playwright-core": "1.28.0-next"
"playwright-core": "1.29.0-next"
}
}