Skip to content

Playwright tests adjusted #11

Playwright tests adjusted

Playwright tests adjusted #11

Workflow file for this run

name: E2E tests with Playwright
on:
push:
branches:
- master
workflow_dispatch:
jobs:
tests_e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
env:
WP_BASE_URL: ${{ secrets.WP_BASE_URL }}
run: npx playwright test