10up / insecure-content-warning

Prevent editors from adding insecure content in the editor.
https://wordpress.org/plugins/insecure-content-warning/
GNU General Public License v2.0
36 stars 1 forks source link

Fix E2E Tests and Upgrade Cypress to version 13 #145

Closed iamdharmesh closed 1 year ago

iamdharmesh commented 1 year ago

Description of the Change

This PR fixes the E2E failure that occurred due to Block Editor now loading in an iframe by default in WP 6.3

PR upgrades the Cypress, Cypress utils lib, and @wordpress/env. Updates needed files as part of the upgrade.

Also, PR upgrades minimum supported WP version from 5.7 to 5.8. (While investigating e2e failure on minimum, I found that code refactored in https://github.com/10up/insecure-content-warning/pull/56 drops supports of WP 5.7)

Closes #115 Closes #141

How to test the Change

Make sure PR PASS E2E tests check OR verify E2E tests locally.

Changelog Entry

Fixed - Ensure all E2E tests pass when running on WordPress 6.3 Changed - Bump minimum WordPress version from 5.7 to 5.8 Changed - Bump Cypress version from 11.2.0 to 13.2.0 Changed - Bump @10up/cypress-wp-utils version to 0.2.0 Changed - Bump @wordpress/env version from 5.8.0 to 8.7.0

Credits

Props @iamdharmesh @Sidsector9

Checklist: