Closed
Description
With the latest version of eslint-plugin-cypress, version 2.13.1, cypress/unsafe-to-chain-command lint errors appear to be getting thrown for wait commands that chain commands from it, when wait is given an alias argument.
Based on the Cypress docs here, it is unsafe to chain further commands that rely on the subject after .wait(), when given a time argument. However, it doesn't say it is unsafe when given an alias argument, as that would be used to wait and return a response from a request, for use in the test.
Based on the above, should the cypress/unsafe-to-chain-command not be getting applied to wait commands with alias arguments?
Metadata
Metadata
Assignees
Labels
No labels