Update WordPress Playground integration with Plugin Toggle and comprehensive documentation

This commit is contained in:
2025-04-22 01:39:36 +01:00
parent 78e2929b27
commit 35d7623722
10 changed files with 268 additions and 57 deletions

View File

@@ -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",
"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 && cypress run --config specPattern=cypress/e2e/playground-single-site.cy.js",
"test:playground:multisite": "npm run setup:playground:multisite && sleep 10 && cypress run --config specPattern=cypress/e2e/playground-multisite.cy.js",
"test:e2e:single": "npm run setup:single && sleep 5 && npm run test:single:headless",
"test:e2e:multisite": "npm run setup:multisite && sleep 5 && npm run test:multisite:headless",
"test:playground:single": "cypress run --config specPattern=cypress/e2e/single-site.cy.js",
"test:playground:multisite": "cypress run --config specPattern=cypress/e2e/multisite.cy.js",
"build": "./build.sh",
"lint:php": "composer run-script phpcs",
"lint:php:simple": "composer run-script phpcs:simple",
@@ -50,6 +50,6 @@
"@wordpress/env": "^8.12.0",
"@wp-playground/blueprints": "^1.0.28",
"@wp-playground/client": "^1.0.28",
"cypress": "^13.6.4"
"cypress": "^13.17.0"
}
}