From da41d3a722ff2b83f44127ca3249b3f29f3aecf6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 18:28:01 +0000 Subject: [PATCH 1/2] Initial plan From bc3ca458edb82f48c4ee221787fdcfd80846be57 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 18:34:37 +0000 Subject: [PATCH 2/2] Update @web/test-runner-playwright to 0.11.1 and add playwright install to pretest Co-authored-by: siddharthkp <1863771+siddharthkp@users.noreply.github.com> --- package-lock.json | 11 ++++++----- package.json | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 72bbaee..c326da1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@open-wc/testing": "^3.2.2", "@web/dev-server-esbuild": "^0.3.6", "@web/test-runner": "^0.19.0", - "@web/test-runner-playwright": "^0.11.0", + "@web/test-runner-playwright": "^0.11.1", "esbuild": "^0.25.2", "eslint": "^8.38.0", "eslint-plugin-custom-elements": "^0.0.8", @@ -2460,14 +2460,15 @@ } }, "node_modules/@web/test-runner-playwright": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@web/test-runner-playwright/-/test-runner-playwright-0.11.0.tgz", - "integrity": "sha512-s+f43DSAcssKYVOD9SuzueUcctJdHzq1by45gAnSCKa9FQcaTbuYe8CzmxA21g+NcL5+ayo4z+MA9PO4H+PssQ==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/@web/test-runner-playwright/-/test-runner-playwright-0.11.1.tgz", + "integrity": "sha512-l9tmX0LtBqMaKAApS4WshpB87A/M8sOHZyfCobSGuYqnREgz5rqQpX314yx+4fwHXLLTa5N64mTrawsYkLjliw==", "dev": true, + "license": "MIT", "dependencies": { "@web/test-runner-core": "^0.13.0", "@web/test-runner-coverage-v8": "^0.8.0", - "playwright": "^1.22.2" + "playwright": "^1.53.0" }, "engines": { "node": ">=18.0.0" diff --git a/package.json b/package.json index b9e4020..5e447c1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "bundle": "esbuild --bundle dist/index.js --keep-names --outfile=dist/bundle.js --format=esm", "build": "tsc && npm run bundle && npm run manifest", "prepublishOnly": "npm run build", - "pretest": "npm run build", + "pretest": "npx playwright install --with-deps && npm run build", "test": "web-test-runner", "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'", "manifest": "custom-elements-manifest analyze" @@ -38,7 +38,7 @@ "@open-wc/testing": "^3.2.2", "@web/dev-server-esbuild": "^0.3.6", "@web/test-runner": "^0.19.0", - "@web/test-runner-playwright": "^0.11.0", + "@web/test-runner-playwright": "^0.11.1", "esbuild": "^0.25.2", "eslint": "^8.38.0", "eslint-plugin-custom-elements": "^0.0.8",