10up / simple-page-ordering

Order your pages and other hierarchical post types with simple drag and drop right from the standard page list.
https://wordpress.org/plugins/simple-page-ordering/
GNU General Public License v2.0
143 stars 22 forks source link

Update Cypress Utils and related packages. #160

Closed peterwilsoncc closed 9 months ago

peterwilsoncc commented 10 months ago

Description of the Change

This upgrades Cypress and the 10up Cypress Utilities and refactors the E2E tests to account for compatibility changes.

This also resolves the issues in dependabot's PR #157

Closes #155

How to test the Change

  1. Check E2E tests are passing on this PR's checks tab.
  2. Run the E2E tests locally:
    1. Ensure you are running the node versions specified in the nvmrc file (16)
    2. npm i; composer i; npm run build;
    3. npm run env destroy
    4. npm run env:start
    5. npm run cypress:run

Changelog Entry

Changed - Updated 10up Cypress Utilities to 0.2.0 Security - Update @cypress/request to 3.0.0 to resolve SSRF issue

Credits

Props @peterwilsoncc, @iamdharmesh, @dkotter

Checklist:

dkotter commented 9 months ago

Looks good! The last merge (seems it was an automated refresh) doesn't show all the tests but looking at the last real merge, all tests are passing: https://github.com/10up/simple-page-ordering/actions/runs/6154899578