Description
Description
Hi,
I wanted some more information about commands indicating that:
**It is [unsafe](https://docs.cypress.io/app/core-concepts/retry-ability#Only-queries-are-retried) to chain further commands that rely on the subject after ...**
There are several commands in this case like:
- type()
- focus()
- blur()
- check()
- ...
Does it mean these kind of commands must not be chained at all with any other command ? (except for assertions)
I ask that because at the same time they are often code samples showing chaining with these kind of commands like:
-
here a case with 2 of themn chained:
https://docs.cypress.io/api/commands/focus#Focus-type-and-blur-a-textarea
cy.get('textarea').focus().type('Nice Product!').blur()
-
here with a type() followed by a blur():
https://docs.cypress.io/api/commands/blur#Blur-the-comment-input
cy.get('[name="comment"]').type('Nice Product!').blur()
Thanks