From d3e41bb0accc8dffb08b0826c546ea63ec817f27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 07:58:42 +0000 Subject: [PATCH] chore(deps-dev): bump @playwright/test from 1.37.1 to 1.44.0 (#969) * --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Disable webkit tests --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Ayral Seydoux --- package-lock.json | 66 +++++++++++++++++++++++++++----------------- package.json | 2 +- playwright.config.ts | 25 +++++++++-------- 3 files changed, 54 insertions(+), 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index cf9b3db2..4f8f2a31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@inrupt/jest-jsdom-polyfills": "^3.0.1", "@inrupt/solid-client": "^2.0.0", "@inrupt/solid-client-authn-node": "^2.0.0", - "@playwright/test": "~1.37.0", + "@playwright/test": "~1.44.0", "@rushstack/eslint-patch": "^1.1.4", "@skypack/package-check": "^0.2.2", "@types/events": "^3.0.0", @@ -1639,36 +1639,18 @@ } }, "node_modules/@playwright/test": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.37.1.tgz", - "integrity": "sha512-bq9zTli3vWJo8S3LwB91U0qDNQDpEXnw7knhxLM0nwDvexQAwx9tO8iKDZSqqneVq+URd/WIoz+BALMqUTgdSg==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz", + "integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==", "dev": true, "dependencies": { - "@types/node": "*", - "playwright-core": "1.37.1" + "playwright": "1.44.0" }, "bin": { "playwright": "cli.js" }, "engines": { "node": ">=16" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, - "node_modules/@playwright/test/node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, "node_modules/@rdfjs/data-model": { @@ -6974,10 +6956,28 @@ "node": ">=8" } }, + "node_modules/playwright": { + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz", + "integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==", + "dev": true, + "dependencies": { + "playwright-core": "1.44.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, "node_modules/playwright-core": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", - "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz", + "integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==", "dev": true, "bin": { "playwright-core": "cli.js" @@ -6986,6 +6986,20 @@ "node": ">=16" } }, + "node_modules/playwright/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/possible-typed-array-names": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", diff --git a/package.json b/package.json index dd35ec0a..1cf69cc9 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "@inrupt/jest-jsdom-polyfills": "^3.0.1", "@inrupt/solid-client": "^2.0.0", "@inrupt/solid-client-authn-node": "^2.0.0", - "@playwright/test": "~1.37.0", + "@playwright/test": "~1.44.0", "@rushstack/eslint-patch": "^1.1.4", "@skypack/package-check": "^0.2.2", "@types/events": "^3.0.0", diff --git a/playwright.config.ts b/playwright.config.ts index 1b13dd33..e2f1d835 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -52,24 +52,25 @@ const config: PlaywrightTestConfig = { }. Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0`, }, }, - // { - // name: "Chromium", - // use: { - // browserName: "chromium", - // userAgent: `Browser-based solid-client-access-grant end-to-end tests running ${ - // process.env.CI === "true" ? "in CI" : "locally" - // }. Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36`, - // }, - // }, { - name: "WebKit", + name: "Chromium", use: { - browserName: "webkit", + browserName: "chromium", userAgent: `Browser-based solid-client-access-grant end-to-end tests running ${ process.env.CI === "true" ? "in CI" : "locally" - }. Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1`, + }. Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36`, }, }, + // Webkit is very flaky on playwright. We will experiment with browserstack, and are disabling this in the meantime. + // { + // name: "WebKit", + // use: { + // browserName: "webkit", + // userAgent: `Browser-based solid-client-access-grant end-to-end tests running ${ + // process.env.CI === "true" ? "in CI" : "locally" + // }. Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1`, + // }, + // }, ], };