Add comprehensive testing framework for both single site and multisite WordPress environments
This commit is contained in:
@@ -7,9 +7,12 @@
|
||||
"start": "wp-env start",
|
||||
"stop": "wp-env stop",
|
||||
"wp-env": "wp-env",
|
||||
"multisite": "wp-env start --config=.wp-env.multisite.json",
|
||||
"test:e2e": "cypress open --config-file tests/e2e/cypress.json",
|
||||
"test:e2e:headless": "cypress run --config-file tests/e2e/cypress.json",
|
||||
"setup:single": "bash bin/setup-test-env.sh single",
|
||||
"setup:multisite": "bash bin/setup-test-env.sh multisite",
|
||||
"test:single": "cypress open --config specPattern=cypress/e2e/single-site.cy.js",
|
||||
"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",
|
||||
"build": "./build.sh",
|
||||
"lint:php": "composer run-script phpcs",
|
||||
"lint:php:simple": "composer run-script phpcs:simple",
|
||||
|
||||
Reference in New Issue
Block a user