Skip to content

Merge pull request #27 from d-oit/snyk-upgrade-4f7604aaeb8166199d5aa0… #213

Merge pull request #27 from d-oit/snyk-upgrade-4f7604aaeb8166199d5aa0…

Merge pull request #27 from d-oit/snyk-upgrade-4f7604aaeb8166199d5aa0… #213

Workflow file for this run

name: 🧪 Playwright End To End (e2e) Tests Workflow
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests_e2e:
name: Run end-to-end tests for live website
runs-on: ubuntu-latest
env:
BASE_URL_TESTING: ${{ vars.BASE_URL_TESTING }}
REUSE_SERVER: 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npx playwright test