Make WordPress Core

Changeset 56926 for trunk/package.json


Ignore:
Timestamp:
10/13/2023 08:11:41 AM (11 months ago)
Author:
swissspidy
Message:

Build/Test Tools: Migrate Puppeteer tests to Playwright.

As per the migration plan shared last year, this migrates all browser-based tests in WordPress core to use Playwright.
This includes end-to-end, performance, and visual regression tests.

Props swissspidy, mamaduka, kevin940726, bartkalisz, desrosj, adamsilverstein.
Fixes #59517.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r56849 r56926  
    2626    "devDependencies": {
    2727        "@lodder/grunt-postcss": "^3.1.1",
     28        "@playwright/test": "1.32.0",
    2829        "@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
    2930        "@wordpress/babel-preset-default": "7.26.6",
    3031        "@wordpress/dependency-extraction-webpack-plugin": "4.25.6",
    3132        "@wordpress/e2e-test-utils": "10.13.6",
     33        "@wordpress/e2e-test-utils-playwright": "0.11.0",
    3234        "@wordpress/scripts": "26.13.6",
    3335        "autoprefixer": "10.4.16",
     
    190192        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
    191193        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
    192         "test:performance": "node ./tests/performance/run-tests.js",
     194        "test:performance": "wp-scripts test-playwright --config tests/performance/playwright.config.js",
    193195        "test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
    194         "test:e2e": "node ./tests/e2e/run-tests.js",
    195         "test:visual": "node ./tests/visual-regression/run-tests.js",
     196        "test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
     197        "test:visual": "wp-scripts test-playwright --config tests/visual-regression/playwright.config.js",
    196198        "sync-gutenberg-packages": "grunt sync-gutenberg-packages",
    197199        "postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
Note: See TracChangeset for help on using the changeset viewer.