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

Introduce Cypress e2e testing for the WordPress plugin #626

Open
1 task done
claytoncollie opened this issue Oct 20, 2023 · 1 comment
Open
1 task done

Introduce Cypress e2e testing for the WordPress plugin #626

claytoncollie opened this issue Oct 20, 2023 · 1 comment
Assignees

Comments

@claytoncollie
Copy link
Contributor

Is your enhancement related to a problem? Please describe.

We should introduce end-to-end testing with Cypress for the WordPress plugin so that it matches the same standards as our other open-source plugins and also makes sure we are shipping a solid, stable product to our clients and partners. These tests would be run in a matrix test again different versions of PHP and different versions of WordPress when the action is triggered.

Below are some examples of the tests we currently have at 10up.

Tests

https://github.com/10up/ElasticPress/tree/develop/tests/cypress

https://github.com/10up/simple-local-avatars/tree/develop/tests/cypress

https://github.com/10up/safe-redirect-manager/tree/develop/tests/cypress

Workflows

https://github.com/10up/ElasticPress/blob/develop/.github/workflows/cypress-tests.yml

https://github.com/10up/simple-local-avatars/blob/develop/.github/workflows/cypress.yml

https://github.com/10up/safe-redirect-manager/blob/develop/.github/workflows/cypress.yml

I am happy to make a pull request for this issue.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nicholasio
Copy link
Member

Thanks for opening this issue. @Manussakis recently started working on setting up a basic e2e test. For now, we're looking to set up a very basic test but with the infra to add more tests in the future.

Feel free to drop any feedback on #623

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

3 participants