Skip to content

Commit 4266ccd

Browse files
committed
fix(a11y-testing-spike): updates to align with barebones
1 parent bcf2ddd commit 4266ccd

34 files changed

+30605
-30746
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ chromatic-diagnostics*.json
138138
chromatic.config.json
139139

140140
# Playwright test reports (generated)
141-
first-gen/test/playwright-a11y/report/
142-
second-gen/test/playwright-a11y/report/
141+
1st-gen/test/playwright-a11y/report/
142+
2nd-gen/test/playwright-a11y/report/
143143

144144
# Playwright test results (generated)
145145
playwright-report/

1st-gen/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"test:a11y:ui": "playwright test --config=playwright.a11y.config.ts --ui",
6767
"test:a11y:1st": "playwright test --config=playwright.a11y.config.ts --project=1st-gen",
6868
"test:a11y:2nd": "playwright test --config=playwright.a11y.config.ts --project=2nd-gen",
69+
"test:a11y:report": "playwright show-report test/playwright-a11y/report",
6970
"test:bench": "yarn build:tests && node test/benchmark/cli.js",
7071
"test:changed": "node ./scripts/test-changes.js",
7172
"test:ci": "yarn test:start",
@@ -95,7 +96,7 @@
9596
"@changesets/changelog-github": "0.5.1",
9697
"@changesets/cli": "2.29.7",
9798
"@commitlint/cli": "19.8.1",
98-
"@commitlint/config-conventional": "19.8.1",
99+
"@commitlint/config-conventional": "^19.8.1",
99100
"@custom-elements-manifest/analyzer": "0.10.6",
100101
"@geometricpanda/storybook-addon-badges": "2.0.5",
101102
"@lit/react": "1.0.8",
@@ -172,7 +173,7 @@
172173
"jsonc-eslint-parser": "2.4.1",
173174
"latest-version": "9.0.0",
174175
"lightningcss": "1.30.1",
175-
"lint-staged": "16.2.6",
176+
"lint-staged": "^16.1.2",
176177
"lit": "^2.5.0 || ^3.1.3",
177178
"lit-analyzer": "2.0.3",
178179
"lit-html": "^2.4.0 || ^3.1.3",
@@ -186,7 +187,7 @@
186187
"prettier-plugin-package": "1.4.0",
187188
"pretty-bytes": "7.1.0",
188189
"re-template-tag": "2.0.1",
189-
"replace-in-file": "8.3.0",
190+
"replace-in-file": "^8.3.0",
190191
"rimraf": "6.0.1",
191192
"rollup": "4.52.2",
192193
"sinon": "17.0.2",

1st-gen/playwright.a11y.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const config: PlaywrightTestConfig = {
4141
},
4242
{
4343
name: '2nd-gen',
44-
testDir: '../second-gen/',
44+
testDir: '../2nd-gen/',
4545
testMatch: '**/packages/swc/components/*/test/**/*.a11y.spec.ts',
4646
use: {
4747
...devices['Desktop Chrome'],
@@ -58,7 +58,7 @@ const config: PlaywrightTestConfig = {
5858
timeout: 120 * 1000,
5959
},
6060
{
61-
command: 'cd ../second-gen/packages/swc && yarn storybook',
61+
command: 'cd ../2nd-gen/packages/swc && yarn storybook',
6262
port: 6006,
6363
reuseExistingServer: !process.env.CI,
6464
timeout: 120 * 1000,

1st-gen/playwright.config.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)