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
In Cypress there is cy.should command https://docs.cypress.io/api/commands/should that created especially to make assertions. Currently, we execute all interactions in cy.then context. So technically it doesn't matter how to write tests:
And also I think, there is no reason to check the runner state and restrict calling actions after assertions. Because users always will have a workaround to do it.
The text was updated successfully, but these errors were encountered:
In Cypress there is
cy.should
command https://docs.cypress.io/api/commands/should that created especially to make assertions. Currently, we execute all interactions incy.then
context. So technically it doesn't matter how to write tests:Or
Or
All of them become like this:
And also I think, there is no reason to check the runner state and restrict calling actions after assertions. Because users always will have a workaround to do it.
The text was updated successfully, but these errors were encountered: