Initial set of PlayWright e2e tests

This commit is contained in:
Zef Hemel
2026-03-24 10:47:01 +01:00
parent 203ef99fc7
commit dc3c23b68f
14 changed files with 641 additions and 3 deletions
+37
View File
@@ -66,3 +66,40 @@ jobs:
- name: Display test coverage
run: go tool cover -func=coverage.out
test-e2e:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Install dependencies
run: npm ci
- name: Build
run: make build
- name: Install Playwright browsers
run: npx playwright install chromium
- name: Run e2e tests
run: npx playwright test
- name: Upload test results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: test-results/
retention-days: 7