File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
.github/actions/acceptance-tests
tests/test-team/config/api Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ inputs:
2222runs :
2323 using : " composite"
2424
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ shardIndex : [1, 2, 3, 4]
29+ shardTotal : [4]
30+
2531 steps :
2632 - name : Fetch terraform output
2733 uses : actions/download-artifact@v5
3238 run : |
3339 npm ci
3440
41+ - name : Install Playwright browsers
42+ run : npx playwright install --with-deps
43+
3544 - name : Generate outputs file
3645 shell : bash
3746 run : |
4251 - name : Run test - ${{ inputs.testType }}
4352 shell : bash
4453 run : |
45- make test-${{ inputs.testType }}
54+ npx playwright test --project=component:setup
55+ npx playwright test --project=component --no-deps --shard${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
56+ npx playwright test --project=component:teardown --no-deps
57+
4658
4759 - name : Archive test results
4860 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import baseConfig from '../playwright.config';
44export default defineConfig ( {
55 ...baseConfig ,
66
7+ workers : 1 ,
78 timeout : 10_000 ,
89 projects : [
910 {
You can’t perform that action at this time.
0 commit comments