Fix failing tests: Update install-wp-tests.sh, Cypress commands, and GitHub Actions workflows
This commit is contained in:
@@ -3,38 +3,25 @@
|
||||
"landingPage": "/wp-admin/",
|
||||
"login": true,
|
||||
"features": {
|
||||
"networking": true
|
||||
"networking": true,
|
||||
"phpVersion": "7.4"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"step": "defineWpConfigConsts",
|
||||
"consts": {
|
||||
"WP_DEBUG": true
|
||||
"WP_DEBUG": true,
|
||||
"WP_DEBUG_LOG": true,
|
||||
"WP_DEBUG_DISPLAY": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"step": "installPlugin",
|
||||
"pluginData": {
|
||||
"resource": "wordpress.org/plugins",
|
||||
"slug": "plugin-toggle"
|
||||
}
|
||||
"step": "wp-cli",
|
||||
"command": "wp plugin install plugin-toggle --activate"
|
||||
},
|
||||
{
|
||||
"step": "installPlugin",
|
||||
"pluginData": {
|
||||
"resource": "wordpress.org/plugins",
|
||||
"slug": "kadence-blocks"
|
||||
}
|
||||
},
|
||||
{
|
||||
"step": "activatePlugin",
|
||||
"pluginName": "Plugin Toggle",
|
||||
"pluginPath": "/wordpress/wp-content/plugins/plugin-toggle"
|
||||
},
|
||||
{
|
||||
"step": "activatePlugin",
|
||||
"pluginName": "Kadence Blocks",
|
||||
"pluginPath": "/wordpress/wp-content/plugins/kadence-blocks"
|
||||
"step": "wp-cli",
|
||||
"command": "wp plugin install kadence-blocks --activate"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,13 +3,18 @@
|
||||
"landingPage": "/wp-admin/network/",
|
||||
"login": true,
|
||||
"features": {
|
||||
"networking": true
|
||||
"networking": {
|
||||
"type": "subdirectory"
|
||||
},
|
||||
"phpVersion": "7.4"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"step": "defineWpConfigConsts",
|
||||
"consts": {
|
||||
"WP_DEBUG": true
|
||||
"WP_DEBUG": true,
|
||||
"WP_DEBUG_LOG": true,
|
||||
"WP_DEBUG_DISPLAY": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -20,18 +25,12 @@
|
||||
"command": "wp site create --slug=testsite"
|
||||
},
|
||||
{
|
||||
"step": "installPlugin",
|
||||
"pluginData": {
|
||||
"resource": "wordpress.org/plugins",
|
||||
"slug": "plugin-toggle"
|
||||
}
|
||||
"step": "wp-cli",
|
||||
"command": "wp plugin install plugin-toggle"
|
||||
},
|
||||
{
|
||||
"step": "installPlugin",
|
||||
"pluginData": {
|
||||
"resource": "wordpress.org/plugins",
|
||||
"slug": "kadence-blocks"
|
||||
}
|
||||
"step": "wp-cli",
|
||||
"command": "wp plugin install kadence-blocks"
|
||||
},
|
||||
{
|
||||
"step": "wp-cli",
|
||||
|
||||
Reference in New Issue
Block a user