From 3356d05d7933124e7de0d64474ecadba53c7a980 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:14 +0000 Subject: [PATCH 1/2] Initial plan From b9c3a92f627321d34360abd3547b969c192732c3 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:57 +0000 Subject: [PATCH 2/2] Update @web/test-runner-playwright to 0.11.1 and add playwright install step 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 0d538ed..e45839e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@open-wc/testing": "^3.1.8", "@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.0", "eslint": "^8.38.0", "eslint-plugin-custom-elements": "^0.0.8", @@ -2455,14 +2455,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 657bdf3..21fd7f5 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": "npm run build && npx playwright install --with-deps", "test": "web-test-runner", "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'", "manifest": "custom-elements-manifest analyze" @@ -43,7 +43,7 @@ "@open-wc/testing": "^3.1.8", "@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.0", "eslint": "^8.38.0", "eslint-plugin-custom-elements": "^0.0.8",