diff --git a/.github/workflows/02-e2e-screen-reader.yml b/.github/workflows/02-e2e-screen-reader.yml index 6087ad07859..b2c9f1b9c39 100644 --- a/.github/workflows/02-e2e-screen-reader.yml +++ b/.github/workflows/02-e2e-screen-reader.yml @@ -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() diff --git a/showcases/react-showcase/package.json b/showcases/react-showcase/package.json index 7e185327b8d..82d1f4171e7 100644 --- a/showcases/react-showcase/package.json +++ b/showcases/react-showcase/package.json @@ -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",