cypress-realworld-testing
cypress-realworld-testing copied to clipboard
Unsupported Node.js 16 used
The repo cypress-io/cypress-realworld-testing is set up to use Node.js 16
which is no longer supported.
https://github.com/cypress-io/cypress-realworld-testing/blob/50bfb658496830fa2fa44b139cfa900af49f3af4/.node-version#L1
CircleCI logs also show Node.js 16.16.0 being used.
References
- Cypress documentation Installing Cypress > System requirements > Node.js.
- Node.js 16 end-of-life announcement for Sep 11, 2023.
Suggestion
Update to using Node.js v18.19.0
or later 18.x
version.
Update tests
Updating Node.js, then running the following on Ubuntu 22.04 gives the following results:
export SITE_URL=https://learn.cypress.io
yarn cypress:run
Node.js Version | Result |
---|---|
v18.19.0 |
all 11 pass |
v20.11.1 |
complete-lesson-button fails |