You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone --branch cypress-end https://github.com/MikeMcC399/cypress-test-tiny
cd cypress-test-tiny
npm ci
npm run cypress:lint
Cypress Version
13.7.0 -> 13.7.2
Node version
v20.11.1 -> v20.12.1
Operating System
Ubuntu 22.04.4 LTS
Debug Logs
$ npm run cypress:lint
> [email protected] cypress:lint
> eslint cypress
/home/mike/github/cypress-io/cypress-test-tiny/cypress/e2e/end.cy.js
16:7 error It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line cypress/unsafe-to-chain-command
27:7 error It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line cypress/unsafe-to-chain-command
✖ 2 problems (2 errors, 0 warnings)
Subject
API > Other Commands > end > Examples
Description
Current behavior
The following API example for
cy.end()
as shown on the documentation sitefails linting with the error
cypress/unsafe-to-chain-command
.Desired behavior
API > Other Commands > end > Examples should provide an example of using
cy.end()
which passes linting using the recommended configuration as defined by the Cypress-provided cypress-io/eslint-plugin-cypress npm module. (The example should also run.)Test code to reproduce
git clone --branch cypress-end https://github.com/MikeMcC399/cypress-test-tiny cd cypress-test-tiny npm ci npm run cypress:lint
Cypress Version
13.7.0
->13.7.2
Node version
v20.11.1
->v20.12.1
Operating System
Ubuntu
22.04.4
LTSDebug Logs
Other
eslint Version
8.57.0
eslint-plugin-cypress Version
2.15.1
Related issues
The text was updated successfully, but these errors were encountered: