mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-03 03:25:47 +00:00
feat(tests): update CI workflow by adding Playwright Chromium installation and E2E test execution
This commit is contained in:
@@ -53,8 +53,19 @@ jobs:
|
||||
. scripts/ci/ci-node-path.sh
|
||||
task install
|
||||
|
||||
- name: Install Playwright Chromium
|
||||
run: |
|
||||
. scripts/ci/ci-node-path.sh
|
||||
pnpm exec playwright install chromium --with-deps
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
. scripts/ci/ci-node-path.sh
|
||||
set -o pipefail
|
||||
task test:all 2>&1 | tee test_results.txt
|
||||
|
||||
- name: Run E2E (Playwright)
|
||||
run: |
|
||||
. scripts/ci/ci-node-path.sh
|
||||
set -o pipefail
|
||||
CI=1 pnpm run test:e2e
|
||||
|
||||
Reference in New Issue
Block a user