Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: roll stable-test-runner to ToT (#9655)
Max Schmitt5426e24248c3
diff --git a/package.json b/package.jsonindex 8b872a5db9..a7ae3ee640 100644--- a/package.json+++ b/package.json@@ -19,7 +19,7 @@"wtest": "npm run basetest -- --config=tests/config/default.config.ts --project=webkit","atest": "npm run basetest -- --config=tests/config/android.config.ts","etest": "npm run basetest -- --config=tests/config/electron.config.ts",- "ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/lib/cli/cli test --config=tests/playwright-test/playwright-test.config.ts",+ "ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright-test.config.ts","test": "npm run basetest -- --config=tests/config/default.config.ts","eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext ts,tsx . || eslint --ext ts,tsx .","tsc": "tsc -p .",diff --git a/tests/playwright-test/stable-test-runner/package-lock.json b/tests/playwright-test/stable-test-runner/package-lock.jsonindex 588cbcc9df..6ebf4ce22d 100644--- a/tests/playwright-test/stable-test-runner/package-lock.json+++ b/tests/playwright-test/stable-test-runner/package-lock.json@@ -5,7 +5,7 @@"packages": {"": {"dependencies": {- "@playwright/test": "=1.16.0-next-1633705291000"+ "@playwright/test": "=1.16.0-next-1634703014000"}},"node_modules/@babel/code-frame": {@@ -677,10 +677,9 @@}},"node_modules/@playwright/test": {- "version": "1.16.0-next-1633705291000",- "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.16.0-next-1633705291000.tgz",- "integrity": "sha512-7Zma0eZn6gAEbtdUdxyAtGWfheBryyOyBHWrCDCvaMbx0lz4A85LWbrbeUvz2BHFQQvNGEy9F7poIKT02rt8jw==",- "hasInstallScript": true,+ "version": "1.16.0-next-1634703014000",+ "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.16.0-next-1634703014000.tgz",+ "integrity": "sha512-qNsc9cNoJpJystMbaEiaCPtuTLTEYJ74gegpg4yyu5kTYGwFY0ykah2Bcl0KZZtZJtDlIBYoql07sP/Isb/0WQ==","dependencies": {"@babel/code-frame": "^7.14.5","@babel/core": "^7.14.8",@@ -703,29 +702,21 @@"commander": "^8.2.0","debug": "^4.1.1","expect": "^27.2.5",- "extract-zip": "^2.0.1",- "https-proxy-agent": "^5.0.0","jest-matcher-utils": "^27.2.5","jpeg-js": "^0.4.2",- "mime": "^2.4.6","minimatch": "^3.0.3","ms": "^2.1.2",- "open": "^8.2.1",+ "open": "^8.3.0","pirates": "^4.0.1","pixelmatch": "^5.2.1",+ "playwright-core": "=1.16.0-next-1634703014000","pngjs": "^5.0.0",- "progress": "^2.0.3",- "proper-lockfile": "^4.1.1",- "proxy-from-env": "^1.1.0","rimraf": "^3.0.2","source-map-support": "^0.4.18",- "stack-utils": "^2.0.3",- "ws": "^7.4.6",- "yauzl": "^2.10.0",- "yazl": "^2.5.1"+ "stack-utils": "^2.0.3"},"bin": {- "playwright": "lib/cli/cli.js"+ "playwright": "cli.js"},"engines": {"node": ">=12"@@ -1121,6 +1112,9 @@},"engines": {"node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/glob": {@@ -1205,6 +1199,11 @@"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},+ "node_modules/ip": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",+ "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="+ },"node_modules/is-docker": {"version": "2.2.1","resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",@@ -1685,6 +1684,35 @@"node": ">=8.0.0"}},+ "node_modules/playwright-core": {+ "version": "1.16.0-next-1634703014000",+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.16.0-next-1634703014000.tgz",+ "integrity": "sha512-I3kN1eWEysD8I8kuLzK8234kwkWCiG8LdgJwkkSxUjEvfn2v5Mi8amXdSIyp2iTkTJ9+3kwEf+5cN0JL9yD3Jg==",+ "dependencies": {+ "commander": "^8.2.0",+ "debug": "^4.1.1",+ "extract-zip": "^2.0.1",+ "https-proxy-agent": "^5.0.0",+ "jpeg-js": "^0.4.2",+ "mime": "^2.4.6",+ "pngjs": "^5.0.0",+ "progress": "^2.0.3",+ "proper-lockfile": "^4.1.1",+ "proxy-from-env": "^1.1.0",+ "rimraf": "^3.0.2",+ "socks-proxy-agent": "^6.1.0",+ "stack-utils": "^2.0.3",+ "ws": "^7.4.6",+ "yauzl": "^2.10.0",+ "yazl": "^2.5.1"+ },+ "bin": {+ "playwright": "cli.js"+ },+ "engines": {+ "node": ">=12"+ }+ },"node_modules/pngjs": {"version": "5.0.0","resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",@@ -1788,9 +1816,9 @@}},"node_modules/signal-exit": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz",+ "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ=="},"node_modules/slash": {"version": "3.0.0",@@ -1800,6 +1828,41 @@"node": ">=8"}},+ "node_modules/smart-buffer": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",+ "engines": {+ "node": ">= 6.0.0",+ "npm": ">= 3.0.0"+ }+ },+ "node_modules/socks": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz",+ "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==",+ "dependencies": {+ "ip": "^1.1.5",+ "smart-buffer": "^4.1.0"+ },+ "engines": {+ "node": ">= 10.13.0",+ "npm": ">= 3.0.0"+ }+ },+ "node_modules/socks-proxy-agent": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz",+ "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==",+ "dependencies": {+ "agent-base": "^6.0.2",+ "debug": "^4.3.1",+ "socks": "^2.6.1"+ },+ "engines": {+ "node": ">= 10"+ }+ },"node_modules/source-map": {"version": "0.5.7","resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",@@ -1871,11 +1934,23 @@"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="},"node_modules/ws": {- "version": "7.5.3",- "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",- "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==",+ "version": "7.5.5",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",+ "integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==","engines": {"node": ">=8.3.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }}},"node_modules/yauzl": {@@ -2418,9 +2493,9 @@}},"@playwright/test": {- "version": "1.16.0-next-1633705291000",- "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.16.0-next-1633705291000.tgz",- "integrity": "sha512-7Zma0eZn6gAEbtdUdxyAtGWfheBryyOyBHWrCDCvaMbx0lz4A85LWbrbeUvz2BHFQQvNGEy9F7poIKT02rt8jw==",+ "version": "1.16.0-next-1634703014000",+ "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.16.0-next-1634703014000.tgz",+ "integrity": "sha512-qNsc9cNoJpJystMbaEiaCPtuTLTEYJ74gegpg4yyu5kTYGwFY0ykah2Bcl0KZZtZJtDlIBYoql07sP/Isb/0WQ==","requires": {"@babel/code-frame": "^7.14.5","@babel/core": "^7.14.8",@@ -2443,26 +2518,18 @@"commander": "^8.2.0","debug": "^4.1.1","expect": "^27.2.5",- "extract-zip": "^2.0.1",- "https-proxy-agent": "^5.0.0","jest-matcher-utils": "^27.2.5","jpeg-js": "^0.4.2",- "mime": "^2.4.6","minimatch": "^3.0.3","ms": "^2.1.2",- "open": "^8.2.1",+ "open": "^8.3.0","pirates": "^4.0.1","pixelmatch": "^5.2.1",+ "playwright-core": "=1.16.0-next-1634703014000","pngjs": "^5.0.0",- "progress": "^2.0.3",- "proper-lockfile": "^4.1.1",- "proxy-from-env": "^1.1.0","rimraf": "^3.0.2","source-map-support": "^0.4.18",- "stack-utils": "^2.0.3",- "ws": "^7.4.6",- "yauzl": "^2.10.0",- "yazl": "^2.5.1"+ "stack-utils": "^2.0.3"}},"@types/istanbul-lib-coverage": {@@ -2851,6 +2918,11 @@"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},+ "ip": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",+ "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="+ },"is-docker": {"version": "2.2.1","resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",@@ -3189,6 +3261,29 @@}}},+ "playwright-core": {+ "version": "1.16.0-next-1634703014000",+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.16.0-next-1634703014000.tgz",+ "integrity": "sha512-I3kN1eWEysD8I8kuLzK8234kwkWCiG8LdgJwkkSxUjEvfn2v5Mi8amXdSIyp2iTkTJ9+3kwEf+5cN0JL9yD3Jg==",+ "requires": {+ "commander": "^8.2.0",+ "debug": "^4.1.1",+ "extract-zip": "^2.0.1",+ "https-proxy-agent": "^5.0.0",+ "jpeg-js": "^0.4.2",+ "mime": "^2.4.6",+ "pngjs": "^5.0.0",+ "progress": "^2.0.3",+ "proper-lockfile": "^4.1.1",+ "proxy-from-env": "^1.1.0",+ "rimraf": "^3.0.2",+ "socks-proxy-agent": "^6.1.0",+ "stack-utils": "^2.0.3",+ "ws": "^7.4.6",+ "yauzl": "^2.10.0",+ "yazl": "^2.5.1"+ }+ },"pngjs": {"version": "5.0.0","resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",@@ -3270,15 +3365,39 @@"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="},"signal-exit": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz",+ "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ=="},"slash": {"version": "3.0.0","resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz","integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="},+ "smart-buffer": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="+ },+ "socks": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz",+ "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==",+ "requires": {+ "ip": "^1.1.5",+ "smart-buffer": "^4.1.0"+ }+ },+ "socks-proxy-agent": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz",+ "integrity": "sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==",+ "requires": {+ "agent-base": "^6.0.2",+ "debug": "^4.3.1",+ "socks": "^2.6.1"+ }+ },"source-map": {"version": "0.5.7","resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",@@ -3334,9 +3453,10 @@"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="},"ws": {- "version": "7.5.3",- "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",- "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg=="+ "version": "7.5.5",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz",+ "integrity": "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==",+ "requires": {}},"yauzl": {"version": "2.10.0",diff --git a/tests/playwright-test/stable-test-runner/package.json b/tests/playwright-test/stable-test-runner/package.jsonindex 82fd7e32ba..61288aba4e 100644--- a/tests/playwright-test/stable-test-runner/package.json+++ b/tests/playwright-test/stable-test-runner/package.json@@ -1,6 +1,6 @@{"private": true,"dependencies": {- "@playwright/test": "=1.16.0-next-1633705291000"+ "@playwright/test": "=1.16.0-next-1634703014000"}}