Skip to content

Automated browser tests #1

Automated browser tests

Automated browser tests #1

Workflow file for this run

name: Playwright Tests for WordPress
on:
push:
pull_request:
jobs:
playwright-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:

Check failure on line 16 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Playwright Tests for WordPress

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 16, Col: 12): Unexpected value '' .github/workflows/tests.yml (Line: 17, Col: 7): Unexpected value 'node-version'
node-version: 18
- name: Install Dependencies
run: npm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# - name: Run Playwright Tests
# env:
# BASE_URL: https://your-wordpress-site.com
# run: npx playwright test