Skip to content

Add a new rule to prevent chaining get queries #134

@antoninklopp

Description

@antoninklopp

As stated in the cypress documentation, cy.get() searches from the root element, thus it seems that there is no point in chaining two cy.get() (like cy.get().get()) and most of the time, what is really wanted is to do cy.get().find().

I am willing to give this rule a try if you think this is relevant!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions