Skip to content

'unsafe-to-chain-command' has too many false positives #5216

Open
@microbae

Description

@microbae

Is it intended that the 'unsafe-to-chain-command' rule hits, if you use quite normal stuff like the ones given in the official Cypress documentation?
I think the rule should do much more than just checking if the action is included in the unsafeToChainActions array. There are too many false positives here..

Example:

See https://docs.cypress.io/api/commands/blur
cy.get('[name="comment"]').focus().type('Nice Product!').blur()

Metadata

Metadata

Assignees

No one assigned

    Labels

    content: rewritetriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions