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

WordPress release candidates compatibility issues #138

Open
marko-medic96 opened this issue Jul 16, 2024 · 0 comments
Open

WordPress release candidates compatibility issues #138

marko-medic96 opened this issue Jul 16, 2024 · 0 comments

Comments

@marko-medic96
Copy link

Describe the bug
WP-Cypress does not recognize WP release candidate versions when passed inside cypress.config.js file.

To Reproduce
Steps to reproduce the behavior:

  1. Open cypress.config.js
  2. Set WP release candidate, eg: 6.6-RC3 as wordpress version
  3. Run cypress tests

Expected behavior
Cypress tests should run as expected

Screenshots

Screenshot from 2024-07-16 11-49-08

Desktop (please complete the following information):

  • wp-cypress: version: 0.13.1
  • cypress: version: 13.12.0
  • cypress browser: [all]

Additional context
It looks to me that issue is within lib/modules/verifyWPVersion.js file which looks for locale version of WP instead of non-locale.
So, when we visit this URL (non-locale), we can see WP hash: https://wordpress.org/wordpress-6.6-RC3.zip.md5
But in this one (locale version) we cannot see WP hash: https://wordpress.org/wordpress-6.6-RC3.zip.md5

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

1 participant