chore(deps): update dependency cypress-example-kitchensink to v2.0.7 #29480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional details
Updates packages/example/package.json to cypress-example-kitchensink@2.0.7.
New linting in the cypress repo has also caused the scripts in packages/example/package.json to be sorted alphabetically, which they were previously not.
Steps to test
Ubuntu
22.04.4
LTS, Node.js18.17.1
Prepare unconfigured project using Node.js
20.22.2
LTS:mkdir cy-test cd cy-test git init npm init -y npm install cypress @eslint/eslintrc @stylistic/eslint-plugin-js eslint eslint-plugin-cypress eslint-plugin-jsonc eslint-plugin-mocha -D
Copy eslint.config.mjs from cypress-example-kitchensink into root of
cy-test
Switch to Node.js
18.17.1
Build and run Cypress
cd
tocypress
cloneClose Cypress Runner and Cypress Dashboard
cd
tocy-test
project and switch to Node.js20.22.2
LTSyarn workspace @packages/example build
stripping eslint strings from the source. See also issue Scaffolded example specs fail recommended Cypress lintingcypress/no-unnecessary-waiting
#29131.How has the user experience changed?
An unreported indent issue in the second to last line of the scaffolded
cypress/e2e/2-advanced-examples/navigation.cy.js
has been resolved. This was caused by the build processyarn workspace @packages/example build
strippingeslint
strings and disturbing the formatting. The root cause is not fixed, however the eslint string/* eslint-enable no-unused-vars */
is now removed from the source on cypress-example-kitchensink (see PR cypress-io/cypress-example-kitchensink#837) and so the problem is no longer exposed.PR Tasks
The contents of the optionally installed scaffolded E2E test specs are undocumented in https://docs.cypress.io so no changes to the documentation are necessary.