Fix failing tests: Update install-wp-tests.sh, Cypress commands, and GitHub Actions workflows

This commit is contained in:
2025-04-23 04:26:06 +01:00
parent bb31e0e934
commit b1966067ea
20 changed files with 263 additions and 106 deletions

View File

@@ -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"
}
]
}