Skip to content

installing playwright browsers #4

installing playwright browsers

installing playwright browsers #4

Workflow file for this run

# Runs mocha tests on 5 browser modes (chrome, firefox, webkit/safari, iPhone, Pixel)
# TODO: Set user/pass secret to send to mocha tests
name: Mocha Tests
defaults:
run:
working-directory: ./tests
on:
push:
branches: [ main, ui-v2 ]
pull_request:
branches: [ main ]
jobs:
test:
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 && npx playwright install-deps
- name: Run Mocha tests
run: npm test # alias to "mocha test"