From 863cad5c0830117e88fd9811764e5ce97ca0329c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 15:26:02 +0200 Subject: [PATCH] chore(deps): update dependency playwright to v1.45.3 (#2941) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Spirig --- package.json | 4 +- .../option.snapshot.spec.snap.js | 38 ++++++++++++++++--- .../option/option/option.snapshot.spec.ts | 7 +++- .../step-label.snapshot.spec.snap.js | 4 +- yarn.lock | 18 ++++----- 5 files changed, 50 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index c40c6c040f..6711bbdfa1 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "lit-analyzer": "2.0.3", "madge": "7.0.0", "npm-run-all2": "6.2.2", - "playwright": "1.44.1", + "playwright": "1.45.3", "postcss": "8.4.40", "prettier": "3.3.3", "react": "18.3.1", @@ -156,7 +156,7 @@ "@web/dev-server-core": "0.7.1", "jackspeak": "2.1.1", "lit": "3.1.4", - "playwright": "1.44.1", + "playwright": "1.45.3", "prettier": "3.3.3" }, "prettier": { diff --git a/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js b/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js index 966b420dda..f7058026de 100644 --- a/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js +++ b/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js @@ -71,7 +71,14 @@ snapshots["sbb-option selected active Chrome"] = `

{ "role": "WebArea", - "name": "" + "name": "", + "children": [ + { + "role": "listbox", + "name": "", + "orientation": "vertical" + } + ] }

`; @@ -81,7 +88,14 @@ snapshots["sbb-option disabled Chrome"] = `

{ "role": "WebArea", - "name": "" + "name": "", + "children": [ + { + "role": "listbox", + "name": "", + "orientation": "vertical" + } + ] }

`; @@ -94,9 +108,15 @@ snapshots["sbb-option selected active Firefox"] = "name": "", "children": [ { - "role": "option", + "role": "listbox", "name": "", - "selected": true + "children": [ + { + "role": "option", + "name": "1", + "selected": true + } + ] } ] } @@ -111,9 +131,15 @@ snapshots["sbb-option disabled Firefox"] = "name": "", "children": [ { - "role": "option", + "role": "listbox", "name": "", - "disabled": true + "children": [ + { + "role": "option", + "name": "1", + "disabled": true + } + ] } ] } diff --git a/src/elements/option/option/option.snapshot.spec.ts b/src/elements/option/option/option.snapshot.spec.ts index 571f51f56e..21f1bd05da 100644 --- a/src/elements/option/option/option.snapshot.spec.ts +++ b/src/elements/option/option/option.snapshot.spec.ts @@ -56,9 +56,12 @@ describe(`sbb-option`, () => { }); testA11yTreeSnapshot( - html``, + html`
1
`, 'selected active', ); - testA11yTreeSnapshot(html``, 'disabled'); + testA11yTreeSnapshot( + html`
1
`, + 'disabled', + ); }); diff --git a/src/elements/stepper/step-label/__snapshots__/step-label.snapshot.spec.snap.js b/src/elements/stepper/step-label/__snapshots__/step-label.snapshot.spec.snap.js index e07063b681..8be9a14bb1 100644 --- a/src/elements/stepper/step-label/__snapshots__/step-label.snapshot.spec.snap.js +++ b/src/elements/stepper/step-label/__snapshots__/step-label.snapshot.spec.snap.js @@ -121,8 +121,8 @@ snapshots["sbb-step-label A11y tree Firefox"] = "name": "", "children": [ { - "role": "tab", - "name": "Label" + "role": "text", + "name": "" } ] } diff --git a/yarn.lock b/yarn.lock index 3f02782bb5..15216f1924 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8417,17 +8417,17 @@ pkg-types@^1.1.1: mlly "^1.7.1" pathe "^1.1.2" -playwright-core@1.44.1: - version "1.44.1" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.44.1.tgz#53ec975503b763af6fc1a7aa995f34bc09ff447c" - integrity sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA== +playwright-core@1.45.3: + version "1.45.3" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.45.3.tgz#e77bc4c78a621b96c3e629027534ee1d25faac93" + integrity sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA== -playwright@1.44.1, playwright@^1.22.2: - version "1.44.1" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.44.1.tgz#5634369d777111c1eea9180430b7a184028e7892" - integrity sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg== +playwright@1.45.3, playwright@^1.22.2: + version "1.45.3" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.45.3.tgz#75143f73093a6e1467f7097083d2f0846fb8dd2f" + integrity sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww== dependencies: - playwright-core "1.44.1" + playwright-core "1.45.3" optionalDependencies: fsevents "2.3.2"