API cy.end
example fails linting cypress/unsafe-to-chain-command
#5753
Labels
cy.end
example fails linting cypress/unsafe-to-chain-command
#5753
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
Also reproducible on
13.16.1
Node version
v20.11.1
->v20.17.0
&v22.12.0
Operating System
Ubuntu
22.04.4
LTSDebug Logs
Other
eslint Version
8.57.0
eslint-plugin-cypress Version
2.15.1
3.5.0
Related issues
The text was updated successfully, but these errors were encountered: