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
test: roll test runner to 0.3.11 (#3885)
Pavel Feldmanf758a09d8e7e
diff --git a/package-lock.json b/package-lock.jsonindex 21e777a322..76063fad7f 100644--- a/package-lock.json+++ b/package-lock.json@@ -1187,9 +1187,9 @@}},"@playwright/test-runner": {- "version": "0.3.9",- "resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.3.9.tgz",- "integrity": "sha512-+kFADjH/g7GQ4uXzCJ5/1ke79n2WCnwRsccbrRgCYcUW96/r97FQnywfYZjJnPcTbvJf4DqYBZ2/0wS7pAEmvQ==",+ "version": "0.3.11",+ "resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.3.11.tgz",+ "integrity": "sha512-EG3ou/aR0N2F5is7hOYIWMbvESB3TQ9IYqakt/7baEO6NmUftqO61wQAKxczx1hPGP12TJq01U97RW+ZGviiBw==","dev": true,"requires": {"@babel/code-frame": "^7.10.4",@@ -2014,6 +2014,16 @@"dev": true,"optional": true},+ "bindings": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",+ "dev": true,+ "optional": true,+ "requires": {+ "file-uri-to-path": "1.0.0"+ }+ },"bluebird": {"version": "3.7.2","resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",@@ -3113,9 +3123,9 @@"optional": true},"escalade": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz",- "integrity": "sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ==",+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz",+ "integrity": "sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig==","dev": true},"escape-string-regexp": {@@ -3703,6 +3713,13 @@"flat-cache": "^2.0.1"}},+ "file-uri-to-path": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",+ "dev": true,+ "optional": true+ },"fill-range": {"version": "7.0.1","resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",@@ -5357,6 +5374,13 @@"readable-stream": "^2.0.5"}},+ "nan": {+ "version": "2.14.1",+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",+ "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",+ "dev": true,+ "optional": true+ },"nanomatch": {"version": "1.2.13","resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",@@ -7784,7 +7808,11 @@"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz","integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==","dev": true,- "optional": true+ "optional": true,+ "requires": {+ "bindings": "^1.5.0",+ "nan": "^2.12.1"+ }},"glob-parent": {"version": "3.1.0",diff --git a/package.json b/package.jsonindex c0a02a07fe..b06274345e 100644--- a/package.json+++ b/package.json@@ -48,7 +48,7 @@"ws": "^7.3.1"},"devDependencies": {- "@playwright/test-runner": "^0.3.9",+ "@playwright/test-runner": "^0.3.11","@types/debug": "^4.1.5","@types/extract-zip": "^1.6.2","@types/mime": "^2.0.3",diff --git a/test/screencast.spec.ts b/test/screencast.spec.tsindex 79b8e79426..e3281a7610 100644--- a/test/screencast.spec.ts+++ b/test/screencast.spec.ts@@ -33,7 +33,7 @@ const fixtures = playwrightFixtures.declareWorkerFixtures<WorkerState>().declareconst { it, expect, describe, defineTestFixture, defineWorkerFixture, overrideWorkerFixture } = fixtures;defineWorkerFixture('videoDir', async ({}, test, config) => {- await test(path.join((config as any).config.outputDir, 'screencast'));+ await test(path.join(config.outputDir, 'screencast'));});overrideWorkerFixture('browser', async ({browserType, defaultBrowserOptions, videoDir}, test) => {