Enhance testing framework with WordPress Playground integration
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
"test:single:headless": "cypress run --config specPattern=cypress/e2e/single-site.cy.js",
|
||||
"test:multisite": "cypress open --config specPattern=cypress/e2e/multisite.cy.js",
|
||||
"test:multisite:headless": "cypress run --config specPattern=cypress/e2e/multisite.cy.js",
|
||||
"playground:single": "wp-playground start --blueprint playground/blueprint.json --port 8888",
|
||||
"playground:multisite": "wp-playground start --blueprint playground/multisite-blueprint.json --port 8888",
|
||||
"test:playground:single": "npm run playground:single & sleep 10 && npm run test:single:headless",
|
||||
"test:playground:multisite": "npm run playground:multisite & sleep 10 && npm run test:multisite:headless",
|
||||
"setup:playground:single": "bash bin/setup-test-env.sh playground-single",
|
||||
"setup:playground:multisite": "bash bin/setup-test-env.sh playground-multisite",
|
||||
"test:playground:single": "npm run setup:playground:single && sleep 10 && npm run test:single:headless",
|
||||
"test:playground:multisite": "npm run setup:playground:multisite && sleep 10 && npm run test:multisite:headless",
|
||||
"build": "./build.sh",
|
||||
"lint:php": "composer run-script phpcs",
|
||||
"lint:php:simple": "composer run-script phpcs:simple",
|
||||
|
||||
Reference in New Issue
Block a user