Skip to content

Commit c24664b

Browse files
committed
ci: improve e2e tests
1 parent 09892dd commit c24664b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/reusable-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ jobs:
208208
env:
209209
# fix Firefox permission issue (Firefox is unable to launch if the $HOME folder isn't owned by the current user)
210210
HOME: /root
211+
strategy:
212+
matrix:
213+
browser: [chrome, firefox, webkit, edge, chromium-legacy]
211214
steps:
212215
- uses: actions/checkout@v4
213216

@@ -224,8 +227,8 @@ jobs:
224227
- name: Build package
225228
run: npm run build
226229

227-
- name: Run e2e tests
228-
run: npm run e2e
230+
- name: Run e2e tests in ${{ matrix.browser }}
231+
run: npm run task:run-e2e:${{ matrix.browser }}
229232

230233
# Run tests on single specified Node.js version
231234
run-jest-single:

0 commit comments

Comments
 (0)