Skip to content

Only running one browser for now. #30

Only running one browser for now.

Only running one browser for now. #30

Workflow file for this run

name: e2e test suite
on: [push]
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
e2e-test-run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Run Docker Compose
run: |
docker-compose up -d
- name: Wait for mysql
uses: smurfpandey/wait-for-it@main
with:
host: localhost
port: 3306
timeout: 60
- name: Install dependencies
run: |
cd ci
npm ci
- name: Install Playwright Browsers
run: |
cd ci
npx playwright install --with-deps
- name: Run Playwright tests
run: |
cd ci
npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30