WordPress / WordPress/plugin-check
Add end-to-end (e2e) tests
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 362
- Forks
- 126
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 22
Description
We already have some e2e tests for the WP-CLI entry point, but not for the admin entry point. Having e2e coverage for the Ajax flow would increase confidence in our setup.
Should be simple to set up, with 1 dummy plugin for testing and 1 addon installed.
Can use Playwright and wp-env or maybe even Playground
Scenarios to test:
- Running all checks and their output
- Running only runtime checks
- Running checks from an add-on
- Maybe more?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing e2e tests for the WP-CLI entry point, then choose a setup using Playwright with wp-env or Playground for the admin Ajax flow. Add one dummy plugin and one addon, and cover all checks, runtime-only checks, and checks from an addon with verified output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100