This PR removes wpacceptance tests and Adds end-to-end testing with Cypress to follow OSBP guide. Test runs automatically on every pull request to the develop branch.
Steps to perform local testing or develop new tests:
Install dependencies npm install
Start wp-env local development suite npm run env:start
Run cypress npm run cypress:run or open developer browser npm run cypress:open
Added Tests:
Activate the plugin.
Plugin is enabled for page.
Change parent pages order.
Change child pages order.
Change posts order.
Closes #77
Alternate Designs
n/a
Possible Drawbacks
n/a
Verification Process
GitHub Actions workflow "E2E test", expected to pass the test. Refer to "Description of the Change" for local testing.
Description of the Change
This PR removes wpacceptance tests and Adds end-to-end testing with Cypress to follow OSBP guide. Test runs automatically on every pull request to the
develop
branch.Steps to perform local testing or develop new tests:
npm install
npm run env:start
npm run cypress:run
or open developer browsernpm run cypress:open
Added Tests:
Closes #77
Alternate Designs
n/a
Possible Drawbacks
n/a
Verification Process
GitHub Actions workflow "E2E test", expected to pass the test. Refer to "Description of the Change" for local testing.
Checklist:
Changelog Entry
Credits
Props @iamdharmesh