First integration tests with playwright

This commit is contained in:
Valere
2025-03-13 14:44:04 +01:00
parent 46e7e8e9cd
commit 687dafab3e
8 changed files with 263 additions and 1 deletions

30
.github/workflows/playwright.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Playwright Tests
on:
pull_request: {}
push:
branches: [livekit, full-mesh]
jobs:
test:
timeout-minutes: 5mn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run backend components
run: |
docker-compose -f dev-backend-docker-compose.yml up -d
docker ps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 3