wp-testing-core

Automate browser-based WordPress plugin testing for login, activation, and UI navigation.

2|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/mikkelkrogsholm/wp-plugins --skill wp-testing-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-testing-core
Source: https://github.com/mikkelkrogsholm/wp-plugins/tree/main/.claude/skills/wp-testing-core
Command: npx skills add https://github.com/mikkelkrogsholm/wp-plugins --skill wp-testing-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes and codifies browser-based WordPress testing procedures, reducing manual QA time and ensuring consistent test coverage for admin login, plugin activation, and UI flows.

Core Features & Use Cases

  • Login Automation: Scripted login to WordPress admin to validate authentication flows.
  • Plugin Activation Verification: Check plugin status via CLI and UI to confirm correct activation/deactivation behavior.
  • Admin UI Navigation: Validate common WordPress admin menu and page loads to catch UI regressions.

Quick Start

Use this Skill to automate WordPress admin login, plugin activation, and UI navigation in a local WordPress instance. For example, run tests to login to /wp-admin, verify the Dashboard loads, activate a plugin via test.sh, and verify the Plugins page reflects the active status.

Frequently Asked Questions about wp-testing-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WordPress admin login and plugin testing in a browser?

Automate WordPress admin login and plugin testing by running browser-based scripts that log into /wp-admin, verify plugin activation status via UI and CLI, and capture snapshots of admin pages. This Skill standardizes those steps for local WordPress instances like http://localhost:8082, reducing manual QA time and ensuring consistent test coverage.

Can I use Selenium to test WordPress plugin activation and deactivation?

Yes. Selenium browser automation verifies WordPress plugin activation and deactivation by scripting login flows, navigating the Plugins page, and confirming status changes in both the UI and WP-CLI output. This Skill combines Selenium steps with WP-CLI commands and nonce validation to validate functional requirements.

What WordPress admin workflows can I test with browser automation?

Browser automation tests WordPress admin login, plugin activation and deactivation, admin menu navigation, settings page validation, and REST API checks. This Skill also monitors console errors and captures UI snapshots to catch regressions across common admin workflows in local environments.

Does this work for testing WordPress plugins in a local development environment?

Yes. This Skill is designed for local WordPress environments, particularly instances running on http://localhost:8082. It automates test.sh plugin scripts, WP-CLI commands, and browser interactions to validate login, plugin status, and UI behavior without requiring a production setup.

How do I verify plugin activation using both UI checks and WP-CLI commands?

Combine browser automation UI checks with WP-CLI command execution to verify plugin status from both interfaces. This dual-check approach, supported by this Skill, ensures plugin activation is reflected accurately in the WordPress admin and command-line tools, catching discrepancies and validation errors.