cypress-io / cypress-realworld-testing

Next.js project for learn.cypress.io
https://learn.cypress.io
MIT License
77 stars 63 forks source link

Old Cypress version 10.5.0 used #330

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 8 months ago

The repo cypress-io/cypress-realworld-testing is set up to use the older Cypress version 10.5.0

https://github.com/cypress-io/cypress-realworld-testing/blob/50bfb658496830fa2fa44b139cfa900af49f3af4/package.json#L62

https://github.com/cypress-io/cypress-realworld-testing/blob/50bfb658496830fa2fa44b139cfa900af49f3af4/yarn.lock#L4355-L4356

The latest available release of Cypress (Jan 25, 2024) according to the Changelog is Cypress 13.6.3.

Suggestion

Update to using Cypress 13.x. This will require some re-work.

Update tests

Updating to later Cypress versions, then running the following on Ubuntu 22.04 und Node.js v18.19.0 gives the following results:

export SITE_URL=https://learn.cypress.io
yarn cypress:run
Cypress Version Result
10.11.0 all 11 pass
11.2.0 2 of 11 failed
12.17.4 4 of 11 failed
13.6.3 3 of 11 failed
MikeMcC399 commented 1 month ago

Closed due to no feedback.