Add E2E tests for single site environment
Is your enhancement related to a problem? Please describe.
The plugin doesn't work exactly the same between multisite and single site environments. For example $wp->request is defined in the multisite env much earlier compared to single site env.
At the moment, we run Cypress E2E tests only on a multisite env. We need to cover the single site env as well to make the plugin more robust.
A possible solution would be to set up a separate E2E GitHub action for single site.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@Sidsector9 I think it is a configuration setup. The pipeline in github action is something I haven't set up, and I need to check it from scratch, so I think it would be nice if you could work on it.
Hi @jeffpaul @vikrampm1 I have tested the existing E2E test cases, and only one test case (add-invalid-addresses.test.js) failed. The failure is due to the absence of validation on the plugin side. I also tested this scenario manually and was able to add an invalid address without any restriction.
cc : @Sidsector9 @iamdharmesh
The failure is due to the absence of validation on the plugin side.
@sudip-md are you able to help update the tests to properly cover that?