chore(tests): roll stable test runner to jun-8-2021 (#6951)
This commit is contained in:
parent
2b474e57f9
commit
eb01844710
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { TestServer } from '../../utils/testserver';
|
import { TestServer } from '../../utils/testserver';
|
||||||
import { Fixtures, TestType } from './test-runner';
|
import { Fixtures, _baseTest } from './test-runner';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import socks from 'socksv5';
|
import socks from 'socksv5';
|
||||||
|
|
@ -230,5 +230,4 @@ const coverageFixtures: Fixtures<{}, CoverageOptions & { __collectCoverage: void
|
||||||
export type CommonOptions = BaseOptions & ServerOptions & CoverageOptions;
|
export type CommonOptions = BaseOptions & ServerOptions & CoverageOptions;
|
||||||
export type CommonWorkerFixtures = CommonOptions & BaseFixtures;
|
export type CommonWorkerFixtures = CommonOptions & BaseFixtures;
|
||||||
|
|
||||||
const __baseTest = require('./test-runner').__baseTest as TestType<{}, {}>;
|
export const baseTest = _baseTest.extend<{}, CoverageOptions>(coverageFixtures).extend<ServerFixtures>(serverFixtures).extend<{}, BaseOptions & BaseFixtures>(baseFixtures);
|
||||||
export const baseTest = __baseTest.extend<{}, CoverageOptions>(coverageFixtures).extend<ServerFixtures>(serverFixtures).extend<{}, BaseOptions & BaseFixtures>(baseFixtures);
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ for (const browserName of browserNames) {
|
||||||
if (executablePath && !process.env.TEST_WORKER_INDEX)
|
if (executablePath && !process.env.TEST_WORKER_INDEX)
|
||||||
console.error(`Using executable at ${executablePath}`);
|
console.error(`Using executable at ${executablePath}`);
|
||||||
const testIgnore: RegExp[] = browserNames.filter(b => b !== browserName).map(b => new RegExp(b));
|
const testIgnore: RegExp[] = browserNames.filter(b => b !== browserName).map(b => new RegExp(b));
|
||||||
testIgnore.push(/android/, /electron/, /playwrigh-test/);
|
testIgnore.push(/android/, /electron/, /playwright-test/);
|
||||||
config.projects.push({
|
config.projects.push({
|
||||||
name: browserName,
|
name: browserName,
|
||||||
testDir,
|
testDir,
|
||||||
|
|
|
||||||
164
tests/config/test-runner/package-lock.json
generated
164
tests/config/test-runner/package-lock.json
generated
|
|
@ -5,7 +5,7 @@
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@playwright/test": "=1.12.0-next-1622928816000"
|
"@playwright/test": "=1.12.0-next-alpha-jun-8-2021"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
|
|
@ -633,23 +633,46 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@playwright/test": {
|
"node_modules/@playwright/test": {
|
||||||
"version": "1.12.0-next-1622928816000",
|
"version": "1.12.0-next-alpha-jun-8-2021",
|
||||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.12.0-next-1622928816000.tgz",
|
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.12.0-next-alpha-jun-8-2021.tgz",
|
||||||
"integrity": "sha512-vOitU8srbM0mk7hHsklchL06Tmd7j2NF4wawBkRsdTHg/ANn2Qvm4qSfplf4zXZbdlNiiAvsvXXhhBteXbLAmA==",
|
"integrity": "sha512-20v8n4EiaV/z30Ahr/fcUeXfsvQXIMiOI7c2xMVOgQIAkM+7Ck+MKw9ePH3k6pTchHwzJfCqDzWSvvhkIqKAeA==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/code-frame": "^7.12.13",
|
||||||
|
"@babel/core": "^7.14.0",
|
||||||
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"@babel/plugin-proposal-dynamic-import": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
|
||||||
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
|
||||||
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
||||||
|
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
||||||
|
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
|
||||||
|
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
||||||
|
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
||||||
|
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
||||||
|
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
||||||
|
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
||||||
|
"@babel/preset-typescript": "^7.13.0",
|
||||||
|
"colors": "^1.4.0",
|
||||||
"commander": "^6.1.0",
|
"commander": "^6.1.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
|
"expect": "^26.4.2",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"folio": "=0.4.0-alpha28",
|
|
||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"jpeg-js": "^0.4.2",
|
"jpeg-js": "^0.4.2",
|
||||||
"mime": "^2.4.6",
|
"mime": "^2.4.6",
|
||||||
|
"minimatch": "^3.0.3",
|
||||||
|
"ms": "^2.1.2",
|
||||||
|
"pirates": "^4.0.1",
|
||||||
|
"pixelmatch": "^5.2.1",
|
||||||
"pngjs": "^5.0.0",
|
"pngjs": "^5.0.0",
|
||||||
"progress": "^2.0.3",
|
"progress": "^2.0.3",
|
||||||
"proper-lockfile": "^4.1.1",
|
"proper-lockfile": "^4.1.1",
|
||||||
"proxy-from-env": "^1.1.0",
|
"proxy-from-env": "^1.1.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
|
"source-map-support": "^0.4.18",
|
||||||
"stack-utils": "^2.0.3",
|
"stack-utils": "^2.0.3",
|
||||||
"ws": "^7.4.6",
|
"ws": "^7.4.6",
|
||||||
"yazl": "^2.5.1"
|
"yazl": "^2.5.1"
|
||||||
|
|
@ -820,9 +843,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001234",
|
"version": "1.0.30001235",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001234.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001235.tgz",
|
||||||
"integrity": "sha512-a3gjUVKkmwLdNysa1xkUAwN2VfJUJyVW47rsi3aCbkRCtbHAfo+rOsCqVw29G6coQ8gzAPb5XBXwiGHwme3isA==",
|
"integrity": "sha512-zWEwIVqnzPkSAXOUlQnPW2oKoYb2aLQ4Q5ejdjBcnH63rfypaW34CxaeBn1VMya2XaEU3P/R2qHpWyj+l0BT1A==",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/browserslist"
|
"url": "https://opencollective.com/browserslist"
|
||||||
|
|
@ -1036,47 +1059,6 @@
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/folio": {
|
|
||||||
"version": "0.4.0-alpha28",
|
|
||||||
"resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha28.tgz",
|
|
||||||
"integrity": "sha512-sbHdEDRXPkkhzHAyRy/tQKTWImNy38cICoii4ox9AGYFVWgF+i4l37AL2cVfJkUEvUqZpq+u4NkuV1cMelV5AA==",
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/code-frame": "^7.12.13",
|
|
||||||
"@babel/core": "^7.14.0",
|
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
||||||
"@babel/plugin-proposal-dynamic-import": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
|
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
|
||||||
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
|
||||||
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
|
|
||||||
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
|
||||||
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
|
||||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
|
||||||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
|
||||||
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
|
||||||
"@babel/preset-typescript": "^7.13.0",
|
|
||||||
"colors": "^1.4.0",
|
|
||||||
"commander": "^6.1.0",
|
|
||||||
"expect": "^26.4.2",
|
|
||||||
"jpeg-js": "^0.4.2",
|
|
||||||
"minimatch": "^3.0.3",
|
|
||||||
"ms": "^2.1.2",
|
|
||||||
"pirates": "^4.0.1",
|
|
||||||
"pixelmatch": "^5.2.1",
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"source-map-support": "^0.4.18",
|
|
||||||
"stack-utils": "^2.0.2"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"folio": "cli.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.17.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/fs.realpath": {
|
"node_modules/fs.realpath": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||||
|
|
@ -1561,9 +1543,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/node-releases": {
|
"node_modules/node-releases": {
|
||||||
"version": "1.1.72",
|
"version": "1.1.73",
|
||||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz",
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz",
|
||||||
"integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw=="
|
"integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg=="
|
||||||
},
|
},
|
||||||
"node_modules/object-keys": {
|
"node_modules/object-keys": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
|
|
@ -2410,22 +2392,45 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@playwright/test": {
|
"@playwright/test": {
|
||||||
"version": "1.12.0-next-1622928816000",
|
"version": "1.12.0-next-alpha-jun-8-2021",
|
||||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.12.0-next-1622928816000.tgz",
|
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.12.0-next-alpha-jun-8-2021.tgz",
|
||||||
"integrity": "sha512-vOitU8srbM0mk7hHsklchL06Tmd7j2NF4wawBkRsdTHg/ANn2Qvm4qSfplf4zXZbdlNiiAvsvXXhhBteXbLAmA==",
|
"integrity": "sha512-20v8n4EiaV/z30Ahr/fcUeXfsvQXIMiOI7c2xMVOgQIAkM+7Ck+MKw9ePH3k6pTchHwzJfCqDzWSvvhkIqKAeA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.12.13",
|
||||||
|
"@babel/core": "^7.14.0",
|
||||||
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"@babel/plugin-proposal-dynamic-import": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
|
||||||
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
|
||||||
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
||||||
|
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
||||||
|
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
|
||||||
|
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
||||||
|
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
||||||
|
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
||||||
|
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
||||||
|
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
||||||
|
"@babel/preset-typescript": "^7.13.0",
|
||||||
|
"colors": "^1.4.0",
|
||||||
"commander": "^6.1.0",
|
"commander": "^6.1.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
|
"expect": "^26.4.2",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"folio": "=0.4.0-alpha28",
|
|
||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"jpeg-js": "^0.4.2",
|
"jpeg-js": "^0.4.2",
|
||||||
"mime": "^2.4.6",
|
"mime": "^2.4.6",
|
||||||
|
"minimatch": "^3.0.3",
|
||||||
|
"ms": "^2.1.2",
|
||||||
|
"pirates": "^4.0.1",
|
||||||
|
"pixelmatch": "^5.2.1",
|
||||||
"pngjs": "^5.0.0",
|
"pngjs": "^5.0.0",
|
||||||
"progress": "^2.0.3",
|
"progress": "^2.0.3",
|
||||||
"proper-lockfile": "^4.1.1",
|
"proper-lockfile": "^4.1.1",
|
||||||
"proxy-from-env": "^1.1.0",
|
"proxy-from-env": "^1.1.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
|
"source-map-support": "^0.4.18",
|
||||||
"stack-utils": "^2.0.3",
|
"stack-utils": "^2.0.3",
|
||||||
"ws": "^7.4.6",
|
"ws": "^7.4.6",
|
||||||
"yazl": "^2.5.1"
|
"yazl": "^2.5.1"
|
||||||
|
|
@ -2562,9 +2567,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001234",
|
"version": "1.0.30001235",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001234.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001235.tgz",
|
||||||
"integrity": "sha512-a3gjUVKkmwLdNysa1xkUAwN2VfJUJyVW47rsi3aCbkRCtbHAfo+rOsCqVw29G6coQ8gzAPb5XBXwiGHwme3isA=="
|
"integrity": "sha512-zWEwIVqnzPkSAXOUlQnPW2oKoYb2aLQ4Q5ejdjBcnH63rfypaW34CxaeBn1VMya2XaEU3P/R2qHpWyj+l0BT1A=="
|
||||||
},
|
},
|
||||||
"chalk": {
|
"chalk": {
|
||||||
"version": "2.4.2",
|
"version": "2.4.2",
|
||||||
|
|
@ -2724,41 +2729,6 @@
|
||||||
"to-regex-range": "^5.0.1"
|
"to-regex-range": "^5.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"folio": {
|
|
||||||
"version": "0.4.0-alpha28",
|
|
||||||
"resolved": "https://registry.npmjs.org/folio/-/folio-0.4.0-alpha28.tgz",
|
|
||||||
"integrity": "sha512-sbHdEDRXPkkhzHAyRy/tQKTWImNy38cICoii4ox9AGYFVWgF+i4l37AL2cVfJkUEvUqZpq+u4NkuV1cMelV5AA==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/code-frame": "^7.12.13",
|
|
||||||
"@babel/core": "^7.14.0",
|
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
||||||
"@babel/plugin-proposal-dynamic-import": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
|
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
|
||||||
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
|
||||||
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
|
|
||||||
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
|
||||||
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
|
||||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
|
||||||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
|
||||||
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
|
||||||
"@babel/preset-typescript": "^7.13.0",
|
|
||||||
"colors": "^1.4.0",
|
|
||||||
"commander": "^6.1.0",
|
|
||||||
"expect": "^26.4.2",
|
|
||||||
"jpeg-js": "^0.4.2",
|
|
||||||
"minimatch": "^3.0.3",
|
|
||||||
"ms": "^2.1.2",
|
|
||||||
"pirates": "^4.0.1",
|
|
||||||
"pixelmatch": "^5.2.1",
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"source-map-support": "^0.4.18",
|
|
||||||
"stack-utils": "^2.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fs.realpath": {
|
"fs.realpath": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||||
|
|
@ -3105,9 +3075,9 @@
|
||||||
"integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA="
|
"integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA="
|
||||||
},
|
},
|
||||||
"node-releases": {
|
"node-releases": {
|
||||||
"version": "1.1.72",
|
"version": "1.1.73",
|
||||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz",
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz",
|
||||||
"integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw=="
|
"integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg=="
|
||||||
},
|
},
|
||||||
"object-keys": {
|
"object-keys": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@playwright/test": "=1.12.0-next-1622928816000"
|
"@playwright/test": "=1.12.0-next-alpha-jun-8-2021"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue