diff --git a/package-lock.json b/package-lock.json index 61fd50ae..4f3e96eb 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.40.1", + "@playwright/test": "~1.37.0", "@rushstack/eslint-patch": "^1.1.4", "@skypack/package-check": "^0.2.2", "@types/events": "^3.0.0", @@ -1657,18 +1657,36 @@ } }, "node_modules/@playwright/test": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.42.1.tgz", - "integrity": "sha512-Gq9rmS54mjBL/7/MvBaNOBwbfnh7beHvS6oS4srqXFcQHpQCV1+c8JXWE8VLPyRDhgS3H8x8A7hztqI9VnwrAQ==", + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.37.1.tgz", + "integrity": "sha512-bq9zTli3vWJo8S3LwB91U0qDNQDpEXnw7knhxLM0nwDvexQAwx9tO8iKDZSqqneVq+URd/WIoz+BALMqUTgdSg==", "dev": true, "dependencies": { - "playwright": "1.42.1" + "@types/node": "*", + "playwright-core": "1.37.1" }, "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": { @@ -6926,28 +6944,10 @@ "node": ">=8" } }, - "node_modules/playwright": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.42.1.tgz", - "integrity": "sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==", - "dev": true, - "dependencies": { - "playwright-core": "1.42.1" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=16" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, "node_modules/playwright-core": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.42.1.tgz", - "integrity": "sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==", + "version": "1.37.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.1.tgz", + "integrity": "sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==", "dev": true, "bin": { "playwright-core": "cli.js" @@ -6956,20 +6956,6 @@ "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 989c374a..dd35ec0a 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.40.1", + "@playwright/test": "~1.37.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 898ca60b..1b13dd33 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -61,15 +61,15 @@ const config: PlaywrightTestConfig = { // }. Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36`, // }, // }, - // { - // 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`, - // }, - // }, + { + 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`, + }, + }, ], };