From 49bcf6efce02b87292164e8b2d442f8e4eff3e15 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 24 Sep 2020 13:04:09 -0700 Subject: [PATCH] chore: roll test runner to 0.9.1 (#3972) --- package-lock.json | 84 +++++++++++++++++++++--------------------- package.json | 3 +- test/page-goto.spec.ts | 7 +++- 3 files changed, 48 insertions(+), 46 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2c709d0c10..f8920d0bcf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1187,9 +1187,9 @@ } }, "@playwright/test-runner": { - "version": "0.3.29", - "resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.3.29.tgz", - "integrity": "sha512-pI4ju+/bfiz0+Gaf6JvAmOOAtiCxX4CDZwrfrvpFImgiuo3hZV7xwYu8KfK8fQ6BH0/0sdJQ+NVRO7B0Qu26/w==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@playwright/test-runner/-/test-runner-0.9.1.tgz", + "integrity": "sha512-LNsTX4f0ItyMef7tmrp6xuiiQN/6/9m44vTmmR1SqKl4gw5CMCCzDCsV9E5qxmWeBD5Bai8IXTF6XpevUXRIZA==", "dev": true, "requires": { "@babel/code-frame": "^7.10.4", @@ -1212,17 +1212,6 @@ "stack-utils": "^2.0.2", "terminal-link": "^2.1.1", "text-diff": "^1.0.1" - }, - "dependencies": { - "debug": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", - "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - } } }, "@sindresorhus/is": { @@ -1317,9 +1306,9 @@ "dev": true }, "@types/node": { - "version": "10.17.32", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.32.tgz", - "integrity": "sha512-EUq+cjH/3KCzQHikGnNbWAGe548IFLSm93Vl8xA7EuYEEATiyOVDyEVuGkowL7c9V69FF/RiZSAOCFPApMs/ig==", + "version": "10.17.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.35.tgz", + "integrity": "sha512-gXx7jAWpMddu0f7a+L+txMplp3FnHl53OhQIF9puXKq3hDGY/GjH+MF04oWnV/adPSCrbtHumDCFwzq2VhltWA==", "dev": true }, "@types/pngjs": { @@ -1414,9 +1403,9 @@ }, "dependencies": { "@types/node": { - "version": "14.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.1.tgz", - "integrity": "sha512-aYNbO+FZ/3KGeQCEkNhHFRIzBOUgc7QvcVNKXbfnhDkSfwUv91JsQQa10rDgKSTSLkXZ1UIyPe4FJJNVgw1xWQ==", + "version": "14.11.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", + "integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==", "optional": true } } @@ -2772,11 +2761,11 @@ } }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "decamelize": { @@ -2969,9 +2958,9 @@ } }, "electron": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-9.3.0.tgz", - "integrity": "sha512-7zPLEZ+kOjVJqfawMQ0vVuZZRqvZIeiID3tbjjbVybbxXIlFMpZ2jogoh7PV3rLrtm+dKRfu7Qc4E7ob1d0FqQ==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/electron/-/electron-9.3.1.tgz", + "integrity": "sha512-DScrhqBT4a54KfdF0EoipALpHmdQTn3m7SSCtbpTcEcG+UDUiXad2cOfW6DHeVH7N+CVDKDG12q2PhVJjXkFAA==", "dev": true, "requires": { "@electron/get": "^1.0.1", @@ -2980,9 +2969,9 @@ }, "dependencies": { "@types/node": { - "version": "12.12.58", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.58.tgz", - "integrity": "sha512-Be46CNIHWAagEfINOjmriSxuv7IVcqbGe+sDSg2SYCEz/0CRBy7LRASGfRbD8KZkqoePU73Wsx3UvOSFcq/9hA==", + "version": "12.12.62", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.62.tgz", + "integrity": "sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==", "dev": true }, "debug": { @@ -6186,6 +6175,15 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, + "pwt": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/pwt/-/pwt-0.9.1.tgz", + "integrity": "sha512-QxztX/KtE2jW2F3L80r1NcZI4GoNc+nrOUvLmqoZjY2erjoItaLy9T4FsET5s4IonR0GobfZ6f8WFe0LPtvE6w==", + "dev": true, + "requires": { + "@playwright/test-runner": "0.9.1" + } + }, "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", @@ -6511,13 +6509,13 @@ } }, "roarr": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz", - "integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==", + "version": "2.15.4", + "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", + "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", "dev": true, "optional": true, "requires": { - "boolean": "^3.0.0", + "boolean": "^3.0.1", "detect-node": "^2.0.4", "globalthis": "^1.0.1", "json-stringify-safe": "^5.0.1", @@ -7396,9 +7394,9 @@ } }, "ts-loader": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.3.tgz", - "integrity": "sha512-wsqfnVdB7xQiqhqbz2ZPLGHLPZbHVV5Qn/MNFZkCFxRU1miDyxKORucDGxKtsQJ63Rfza0udiUxWF5nHY6bpdQ==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.4.tgz", + "integrity": "sha512-5u8KF1SW8eCUb/Ff7At81e3wznPmT/27fvaGRO9CziVy+6NlPVRvrzSox4OwU0/e6OflOUB32Err4VquysCSAQ==", "dev": true, "requires": { "chalk": "^2.3.0", @@ -7481,9 +7479,9 @@ "dev": true }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "uid2": { @@ -7963,9 +7961,9 @@ } }, "webpack": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.1.tgz", - "integrity": "sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ==", + "version": "4.44.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.2.tgz", + "integrity": "sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q==", "dev": true, "requires": { "@webassemblyjs/ast": "1.9.0", diff --git a/package.json b/package.json index 3e44ba82c9..18d88caf57 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "ws": "^7.3.1" }, "devDependencies": { - "@playwright/test-runner": "^0.3.29", + "@playwright/test-runner": "^0.9.1", "@types/debug": "^4.1.5", "@types/extract-zip": "^1.6.2", "@types/mime": "^2.0.3", @@ -72,6 +72,7 @@ "ncp": "^2.0.0", "node-stream-zip": "^1.11.3", "pkg": "^4.4.9", + "pwt": "^0.9.1", "socksv5": "0.0.6", "ts-loader": "^8.0.3", "typescript": "^4.0.2", diff --git a/test/page-goto.spec.ts b/test/page-goto.spec.ts index 0cb38c97a5..587cc4627e 100644 --- a/test/page-goto.spec.ts +++ b/test/page-goto.spec.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { it, expect } from './playwright.fixtures'; +import { it, expect, options } from './playwright.fixtures'; import path from 'path'; import url from 'url'; @@ -360,7 +360,10 @@ it('should not leak listeners during bad navigation', async ({page, server}) => expect(warning).toBe(null); }); -it('should not leak listeners during navigation of 20 pages', async ({page, context, server}) => { +it('should not leak listeners during navigation of 20 pages', test => { + test.flaky(options.TRACING, 'Flakes on tracing'); + test.slow('We open 20 pages here'); +}, async ({page, context, server}) => { let warning = null; const warningHandler = w => warning = w; process.on('warning', warningHandler);