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
cy.focused() should behave exactly like other querying commands such as cy.get() or cy.contains().
As it stands, it will not wait for the element to exist in the DOM unless there is an assertion you've written. Instead the default assertion needs to be to wait for the element to exist unless you've reversed the default assertion with cy.focused().should("not.exist").
The documentation is correct but the behavior is wrong.
The text was updated successfully, but these errors were encountered:
cy.focused()
should behave exactly like other querying commands such ascy.get()
orcy.contains()
.As it stands, it will not wait for the element to exist in the DOM unless there is an assertion you've written. Instead the default assertion needs to be to wait for the element to exist unless you've reversed the default assertion with
cy.focused().should("not.exist")
.The documentation is correct but the behavior is wrong.
The text was updated successfully, but these errors were encountered: