mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: roll to folio@0.4.0-alpha17 (#6712)
This commit is contained in:
parent
ac0980e1ee
commit
48b48828cc
12
package-lock.json
generated
12
package-lock.json
generated
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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 => {
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user