test: roll test runner 0.9.17 (#4035)

This commit is contained in:
Pavel Feldman 2020-10-01 13:32:52 -07:00 committed by GitHub
parent 318ab28171
commit 81c1daed73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 28 deletions

50
package-lock.json generated
View file

@ -1174,9 +1174,9 @@
} }
}, },
"@playwright/test-runner": { "@playwright/test-runner": {
"version": "0.9.16", "version": "0.9.17",
"resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.9.16.tgz", "resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.9.17.tgz",
"integrity": "sha512-dbuF01oydF3uV6K24LnFpy6CIRULIjZK4YainHPgpmjDBpU5/BukTdW6xcJDHPSj4hbs9ycIDHvz6YCS5pMxew==", "integrity": "sha512-9d0b99Rir+Vck8r1Zak17QB6vG/AzabURLXv9nlvVFFDRqmttRVPfnGgvlQ7Ae4lkUhYk2JSHX2ETq/nvMfwlg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.10.4", "@babel/code-frame": "^7.10.4",
@ -2231,9 +2231,9 @@
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001137", "version": "1.0.30001141",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001137.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001141.tgz",
"integrity": "sha512-54xKQZTqZrKVHmVz0+UvdZR6kQc7pJDgfhsMYDG19ID1BWoNnDMFm5Q3uSBSU401pBvKYMsHAt9qhEDcxmk8aw==", "integrity": "sha512-EHfInJHoQTmlMdVZrEc5gmwPc0zyN/hVufmGHPbVNQwlk7tJfCmQ2ysRZMY2MeleBivALUTyyxXnQjK18XrVpA==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {
@ -2961,21 +2961,21 @@
} }
}, },
"es-abstract": { "es-abstract": {
"version": "1.18.0-next.0", "version": "1.18.0-next.1",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
"integrity": "sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==", "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"dev": true, "dev": true,
"requires": { "requires": {
"es-to-primitive": "^1.2.1", "es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"has": "^1.0.3", "has": "^1.0.3",
"has-symbols": "^1.0.1", "has-symbols": "^1.0.1",
"is-callable": "^1.2.0", "is-callable": "^1.2.2",
"is-negative-zero": "^2.0.0", "is-negative-zero": "^2.0.0",
"is-regex": "^1.1.1", "is-regex": "^1.1.1",
"object-inspect": "^1.8.0", "object-inspect": "^1.8.0",
"object-keys": "^1.1.1", "object-keys": "^1.1.1",
"object.assign": "^4.1.0", "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1", "string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1" "string.prototype.trimstart": "^1.0.1"
} }
@ -6413,20 +6413,20 @@
}, },
"dependencies": { "dependencies": {
"es-abstract": { "es-abstract": {
"version": "1.17.6", "version": "1.17.7",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
"integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
"dev": true, "dev": true,
"requires": { "requires": {
"es-to-primitive": "^1.2.1", "es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"has": "^1.0.3", "has": "^1.0.3",
"has-symbols": "^1.0.1", "has-symbols": "^1.0.1",
"is-callable": "^1.2.0", "is-callable": "^1.2.2",
"is-regex": "^1.1.0", "is-regex": "^1.1.1",
"object-inspect": "^1.7.0", "object-inspect": "^1.8.0",
"object-keys": "^1.1.1", "object-keys": "^1.1.1",
"object.assign": "^4.1.0", "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1", "string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1" "string.prototype.trimstart": "^1.0.1"
} }
@ -6444,20 +6444,20 @@
}, },
"dependencies": { "dependencies": {
"es-abstract": { "es-abstract": {
"version": "1.17.6", "version": "1.17.7",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
"integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
"dev": true, "dev": true,
"requires": { "requires": {
"es-to-primitive": "^1.2.1", "es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"has": "^1.0.3", "has": "^1.0.3",
"has-symbols": "^1.0.1", "has-symbols": "^1.0.1",
"is-callable": "^1.2.0", "is-callable": "^1.2.2",
"is-regex": "^1.1.0", "is-regex": "^1.1.1",
"object-inspect": "^1.7.0", "object-inspect": "^1.8.0",
"object-keys": "^1.1.1", "object-keys": "^1.1.1",
"object.assign": "^4.1.0", "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1", "string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1" "string.prototype.trimstart": "^1.0.1"
} }

View file

@ -51,7 +51,7 @@
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^0.9.7", "@playwright/test": "^0.9.7",
"@playwright/test-runner": "^0.9.16", "@playwright/test-runner": "^0.9.17",
"@types/debug": "^4.1.5", "@types/debug": "^4.1.5",
"@types/extract-zip": "^1.6.2", "@types/extract-zip": "^1.6.2",
"@types/mime": "^2.0.3", "@types/mime": "^2.0.3",

View file

@ -40,7 +40,7 @@ it('should work', async ({browser}) => {
expect(!!browser['_connection']).toBeTruthy(); expect(!!browser['_connection']).toBeTruthy();
}); });
it('should scope context handles', async ({browserType, browser, server}) => { it('should scope context handles', async ({browser, server}) => {
const GOLDEN_PRECONDITION = { const GOLDEN_PRECONDITION = {
_guid: '', _guid: '',
objects: [ objects: [
@ -129,7 +129,10 @@ it('should scope browser handles', async ({browserType, defaultBrowserOptions})
objects: [ objects: [
{ _guid: 'BrowserType', objects: [] }, { _guid: 'BrowserType', objects: [] },
{ _guid: 'BrowserType', objects: [] }, { _guid: 'BrowserType', objects: [] },
{ _guid: 'BrowserType', objects: [] }, { _guid: 'BrowserType', objects: [
{ _guid: 'Browser', objects: [] },
]
},
{ _guid: 'Playwright', objects: [] }, { _guid: 'Playwright', objects: [] },
{ _guid: 'Selectors', objects: [] }, { _guid: 'Selectors', objects: [] },
{ _guid: 'Electron', objects: [] }, { _guid: 'Electron', objects: [] },
@ -143,6 +146,7 @@ it('should scope browser handles', async ({browserType, defaultBrowserOptions})
_guid: '', _guid: '',
objects: [ objects: [
{ _guid: 'BrowserType', objects: [ { _guid: 'BrowserType', objects: [
{ _guid: 'Browser', objects: [] },
{ {
_guid: 'Browser', objects: [ _guid: 'Browser', objects: [
{ _guid: 'BrowserContext', objects: [] } { _guid: 'BrowserContext', objects: [] }