Skip to content

A basic configuration template for running WordPress E2E tests using Playwright and WP Playground.

Notifications You must be signed in to change notification settings

WunderBart/wp-playground-e2e-playwright-template

Repository files navigation

WP Playground E2E Playwright Template

A basic configuration template for running WordPress E2E tests using Playwright and WP Playground.

Getting started

Install dependencies:

nvm install
npm install
npx playwright intstall

Running tests

The server does not need to be manually started. A fresh instance will be provisioned by Playwright each time the tests are run. See the webServer entry in playwright.config.ts.

Run all tests:

npm run test:e2e

Run all tests in debug mode:

npm run test:e2e:debug

Run test with a specific browser:

npm run test:e2e:chromium # or firefox, or webkit.

About

A basic configuration template for running WordPress E2E tests using Playwright and WP Playground.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published