feat(test): Playwright testing integration (#4146)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-21 14:48:35 -04:00
1 parent 856cd17531
commit fe1a706446
26 files changed
+434 -215

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
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 Playwright tests
run: yarn test:e2e:ci
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: tests/playwright-report
retention-days: 30