Skip to content

feature: add e2e test with playwright #628

feature: add e2e test with playwright

feature: add e2e test with playwright #628

Workflow file for this run

name: E2E popup tests
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
e2e-popup-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Chrome tests
run: npm run e2e:chrome:headless:popup
- name: Run Firefox tests
run: npm run e2e:firefox:headless:popup
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30