Skip to content

Commit

Permalink
Test cicd sr playwright shard (#3756)
Browse files Browse the repository at this point in the history
* test: screen reader

* test: screen reader
  • Loading branch information
nmerget authored Jan 31, 2025
1 parent 17e00f5 commit ebcda0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/02-e2e-screen-reader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
path: build-showcases/react-showcase

- name: 👩‍🔬 Test showcase with Playwright 🎭
shell: bash
env:
showcase: react-showcase
run: |
npm run test:screen-reader:${{ env.OS }} --workspace=react-showcase -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
npm run test-sr:${{ env.OS }} --workspace=react-showcase -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
- name: 🆙 Upload test results
if: failure()
Expand Down
6 changes: 3 additions & 3 deletions showcases/react-showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"preview": "npx http-server ../../build-showcases",
"regenerate:screenshots": "cross-env showcase=react-showcase npx playwright test -c ../playwright.showcase-snapshots.ts --update-snapshots",
"start": "vite",
"test:e2e": "cross-env showcase=react-showcase npx playwright test --config=../playwright.config.ts",
"test:screen-reader:macos": "cross-env showcase=react-showcase npx playwright test --config=../playwright.screen-reader.macos.ts",
"test:screen-reader:windows": "cross-env showcase=react-showcase npx playwright test --config=../playwright.screen-reader.windows.ts"
"test-sr:macos": "cross-env showcase=react-showcase npx playwright test --config=../playwright.screen-reader.macos.ts",
"test-sr:windows": "cross-env showcase=react-showcase npx playwright test --config=../playwright.screen-reader.windows.ts",
"test:e2e": "cross-env showcase=react-showcase npx playwright test --config=../playwright.config.ts"
},
"dependencies": {
"@db-ux/db-theme": "0.5.0",
Expand Down

0 comments on commit ebcda0f

Please sign in to comment.