Skip to content

Add E2E testing

Add E2E testing #9

Workflow file for this run

name: E2E Testing
on:
pull_request:
jobs:
test:
name: E2E Testing
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: |
npm ci
sudo apt-get install xvfb mesa-utils
- name: Build for testing
run: npm run build
- name: Run E2E on chrome
run: xvfb-run --auto-servernum npm run test:e2e:chrome
- name: Archive test results
if: success() || failure()
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: tmp
path: .tmp
retention-days: 1