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 acceptance testing framework #99

Open
roborourke opened this issue Jan 21, 2025 · 0 comments
Open

Add acceptance testing framework #99

roborourke opened this issue Jan 21, 2025 · 0 comments

Comments

@roborourke
Copy link
Contributor

We should set up acceptance testing with the goals of:

a) avoiding back compat breakages
b) ensuring stable functionality across most popular configurations and documented usages
c) preventing regressions for fixed bugs

This should be done using a GH action. Explore tools including wp-scripts e2e tools, wp-env, codeception.

Because the multisite cross network redirect feature relies on JS to submit a form the testing tool will need to run a browser (or browser-like environment that can execute JS) for tests.

The scope of this ticket is not to add any tests.

Included in the scope:

  • create the setup to run them against pull requests
  • be able to be run locally
  • document how to run tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant