Skip to content

added browser tests

added browser tests #2

Workflow file for this run

name: Browser Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install npm dependencies
run: npm install -y
- name: Start testserver
run: node tests/test-browser-server.js
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30