Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end-to-end (e2e) tests #607

Open
swissspidy opened this issue Sep 4, 2024 · 1 comment · Fixed by #751
Open

Add end-to-end (e2e) tests #607

swissspidy opened this issue Sep 4, 2024 · 1 comment · Fixed by #751
Labels
[Type] Enhancement A suggestion for improvement of an existing feature

Comments

@swissspidy
Copy link
Member

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?
@swissspidy swissspidy added the [Type] Enhancement A suggestion for improvement of an existing feature label Sep 4, 2024
@ernilambar ernilambar reopened this Oct 26, 2024
@felixarntz
Copy link
Member

Oops, I just noticed that I accidentally had marked #751 to fix this - was somehow confusing Behat and e2e 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants