Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: roll to [email protected] (#6712)

Dmitry Gozman48b48828ccfc
diff --git a/package-lock.json b/package-lock.json
index 47127feafd..52c7b014b7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2659,9 +2659,9 @@
}
},
"electron-to-chromium": {
- "version": "1.3.734",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.734.tgz",
- "integrity": "sha512-iQF2mjPZ6zNNq45kbJ6MYZYCBNdv2JpGiJC/lVx4tGJWi9MNg73KkL9sWGN4X4I/CP2SBLWsT8nPADZZpAHIyw==",
+ "version": "1.3.735",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.735.tgz",
+ "integrity": "sha512-cp7MWzC3NseUJV2FJFgaiesdrS+A8ZUjX5fLAxdRlcaPDkaPGFplX930S5vf84yqDp4LjuLdKouWuVOTwUfqHQ==",
"dev": true
},
"elliptic": {
@@ -3483,9 +3483,9 @@
}
},
"folio": {
- "version": "0.4.0-alpha16",
- "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha16.tgz",
- "integrity": "sha512-rxtXJXLkRnGpWc1tfrz2lI60/T5vb7hEoxmgaZQaq/D7LRrFOqyDWVWy3NKloWGHX+UKFWQERVYO6xRnSbrXnA==",
+ "version": "0.4.0-alpha17",
+ "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha17.tgz",
+ "integrity": "sha512-bR+VBhZ6HzI7cK/oFPQaua/Ejuf95NGelX6vm8EE1ICvfDpp2EhxJAvZgubPyQ4kPHo9n76TIlSAjj7E16GwEg==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.12.13",
diff --git a/package.json b/package.json
index 538cf7bb84..1819d9f0ad 100644
--- a/package.json
+++ b/package.json
@@ -80,7 +80,7 @@
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.1.0",
- "folio": "=0.4.0-alpha16",
+ "folio": "=0.4.0-alpha17",
"formidable": "^1.2.2",
"html-webpack-plugin": "^4.4.1",
"ncp": "^2.0.0",
diff --git a/tests/inspector/inspectorTest.ts b/tests/inspector/inspectorTest.ts
index 6ac5a2a4b3..90968f0185 100644
--- a/tests/inspector/inspectorTest.ts
+++ b/tests/inspector/inspectorTest.ts
@@ -31,8 +31,7 @@ type CLITestArgs = {
export const test = contextTest.extend<CLITestArgs>({
recorderPageGetter: async ({ page, context, toImpl, browserName, channel, headless, mode, executablePath }, run, testInfo) => {
process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex);
- if (mode === 'service')
- testInfo.skip();
+ testInfo.skip(mode === 'service');
await run(async () => {
while (!toImpl(context).recorderAppForTest)
await new Promise(f => setTimeout(f, 100));
@@ -45,8 +44,7 @@ export const test = contextTest.extend<CLITestArgs>({
runCLI: async ({ browserName, channel, headless, mode, executablePath }, run, testInfo) => {
process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex);
- if (mode === 'service')
- testInfo.skip();
+ testInfo.skip(mode === 'service');
let cli: CLIMock | undefined;
await run(cliArgs => {
diff --git a/tests/snapshotter.spec.ts b/tests/snapshotter.spec.ts
index ffd901647e..6a65872f7e 100644
--- a/tests/snapshotter.spec.ts
+++ b/tests/snapshotter.spec.ts
@@ -25,8 +25,7 @@ const it = contextTest.extend<{ snapshotPort: number, snapshotter: InMemorySnaps
},
snapshotter: async ({ mode, toImpl, context, snapshotPort }, run, testInfo) => {
- if (mode !== 'default')
- testInfo.skip();
+ testInfo.skip(mode !== 'default');
const snapshotter = new InMemorySnapshotter(toImpl(context));
await snapshotter.initialize();
const httpServer = new HttpServer();