Skip to content

WordPress release candidates compatibility issues #138

@marko-medic96

Description

@marko-medic96

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions