chore: upgrade playwright (#30402)

This commit is contained in:
Michael Geers 2026-06-01 14:49:47 +02:00 • committed by GitHub
parent 535dab9935
commit 88f533f41f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 13 deletions

View file

@ -255,10 +255,12 @@ jobs:
- name: Install Playwright (browsers + deps)
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps chromium
timeout-minutes: 5
- name: Install Playwright (deps only)
if: steps.playwright-cache.outputs.cache-hit == 'true'
run: npx playwright install-deps chromium
timeout-minutes: 5
- name: Run tests
run: npx playwright test

24
package-lock.json generated
View file

@ -34,7 +34,7 @@
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@jest/types": "^30.3.0",
"@playwright/test": "^1.59.1",
"@playwright/test": "^1.60.0",
"@storybook/vue3": "^10.3.5",
"@storybook/vue3-vite": "^10.3.5",
"@types/body-parser": "^1.19.6",
@ -2771,13 +2771,13 @@
}
},
"node_modules/@playwright/test": {
"version": "1.59.1",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.1.tgz",
"integrity": "sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==",
"version": "1.60.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.60.0.tgz",
"integrity": "sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright": "1.59.1"
"playwright": "1.60.0"
},
"bin": {
"playwright": "cli.js"
@ -9386,13 +9386,13 @@
}
},
"node_modules/playwright": {
"version": "1.59.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.1.tgz",
"integrity": "sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==",
"version": "1.60.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0.tgz",
"integrity": "sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.59.1"
"playwright-core": "1.60.0"
},
"bin": {
"playwright": "cli.js"
@ -9405,9 +9405,9 @@
}
},
"node_modules/playwright-core": {
"version": "1.59.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.1.tgz",
"integrity": "sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==",
"version": "1.60.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.60.0.tgz",
"integrity": "sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View file

@ -56,7 +56,7 @@
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@jest/types": "^30.3.0",
"@playwright/test": "^1.59.1",
"@playwright/test": "^1.60.0",
"@storybook/vue3": "^10.3.5",
"@storybook/vue3-vite": "^10.3.5",
"@types/body-parser": "^1.19.6",

View file

@ -103,6 +103,7 @@ test.describe("charging loadpoint", async () => {
await chargerModal.getByLabel("Charge status").selectOption("A");
await chargerModal.getByRole("button", { name: "Save" }).click();
await expectModalHidden(chargerModal);
await expectModalVisible(lpModal);
await lpModal.getByRole("button", { name: "Save" }).click();
await expectModalHidden(lpModal);