You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
antoninklopp
changed the title
Add a new rule to prevent chaining get query
Add a new rule to prevent chaining get queries
May 19, 2023
As stated in the cypress documentation,
cy.get()
searches from the root element, thus it seems that there is no point in chaining twocy.get()
(likecy.get().get()
) and most of the time, what is really wanted is to docy.get().find()
.I am willing to give this rule a try if you think this is relevant!
The text was updated successfully, but these errors were encountered: