test: roll to folio@0.4.0-alpha17 (#6712)

This commit is contained in:
Dmitry Gozman 2021-05-23 16:21:18 -07:00 committed by GitHub
parent ac0980e1ee
commit 48b48828cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 13 deletions

12
package-lock.json generated
View File

@ -2659,9 +2659,9 @@
} }
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.734", "version": "1.3.735",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.734.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.735.tgz",
"integrity": "sha512-iQF2mjPZ6zNNq45kbJ6MYZYCBNdv2JpGiJC/lVx4tGJWi9MNg73KkL9sWGN4X4I/CP2SBLWsT8nPADZZpAHIyw==", "integrity": "sha512-cp7MWzC3NseUJV2FJFgaiesdrS+A8ZUjX5fLAxdRlcaPDkaPGFplX930S5vf84yqDp4LjuLdKouWuVOTwUfqHQ==",
"dev": true "dev": true
}, },
"elliptic": { "elliptic": {
@ -3483,9 +3483,9 @@
} }
}, },
"folio": { "folio": {
"version": "0.4.0-alpha16", "version": "0.4.0-alpha17",
"resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha16.tgz", "resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha17.tgz",
"integrity": "sha512-rxtXJXLkRnGpWc1tfrz2lI60/T5vb7hEoxmgaZQaq/D7LRrFOqyDWVWy3NKloWGHX+UKFWQERVYO6xRnSbrXnA==", "integrity": "sha512-bR+VBhZ6HzI7cK/oFPQaua/Ejuf95NGelX6vm8EE1ICvfDpp2EhxJAvZgubPyQ4kPHo9n76TIlSAjj7E16GwEg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.12.13", "@babel/code-frame": "^7.12.13",

View File

@ -80,7 +80,7 @@
"eslint-plugin-notice": "^0.9.10", "eslint-plugin-notice": "^0.9.10",
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.1.0", "file-loader": "^6.1.0",
"folio": "=0.4.0-alpha16", "folio": "=0.4.0-alpha17",
"formidable": "^1.2.2", "formidable": "^1.2.2",
"html-webpack-plugin": "^4.4.1", "html-webpack-plugin": "^4.4.1",
"ncp": "^2.0.0", "ncp": "^2.0.0",

View File

@ -31,8 +31,7 @@ type CLITestArgs = {
export const test = contextTest.extend<CLITestArgs>({ export const test = contextTest.extend<CLITestArgs>({
recorderPageGetter: async ({ page, context, toImpl, browserName, channel, headless, mode, executablePath }, run, testInfo) => { recorderPageGetter: async ({ page, context, toImpl, browserName, channel, headless, mode, executablePath }, run, testInfo) => {
process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex); process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex);
if (mode === 'service') testInfo.skip(mode === 'service');
testInfo.skip();
await run(async () => { await run(async () => {
while (!toImpl(context).recorderAppForTest) while (!toImpl(context).recorderAppForTest)
await new Promise(f => setTimeout(f, 100)); 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) => { runCLI: async ({ browserName, channel, headless, mode, executablePath }, run, testInfo) => {
process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex); process.env.PWTEST_RECORDER_PORT = String(10907 + testInfo.workerIndex);
if (mode === 'service') testInfo.skip(mode === 'service');
testInfo.skip();
let cli: CLIMock | undefined; let cli: CLIMock | undefined;
await run(cliArgs => { await run(cliArgs => {

View File

@ -25,8 +25,7 @@ const it = contextTest.extend<{ snapshotPort: number, snapshotter: InMemorySnaps
}, },
snapshotter: async ({ mode, toImpl, context, snapshotPort }, run, testInfo) => { snapshotter: async ({ mode, toImpl, context, snapshotPort }, run, testInfo) => {
if (mode !== 'default') testInfo.skip(mode !== 'default');
testInfo.skip();
const snapshotter = new InMemorySnapshotter(toImpl(context)); const snapshotter = new InMemorySnapshotter(toImpl(context));
await snapshotter.initialize(); await snapshotter.initialize();
const httpServer = new HttpServer(); const httpServer = new HttpServer();