Add a new rule to prevent chaining get queries
antoninklopp opened this issue · comments
Antonin KLOPP-TOSSER commented
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!