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
Allowing the document to be the subject when using cy.type() will allow typing that doesn't need a text field (namely, keyboard shortcut capturing) to be tested. So a user can write the following test, for example:
// for this example, assume there's a listener on `document` that// opens a modal when 'abcd' is typedcy.document().type('abcd').get('.modal').should('have.text','A modal!');
The text was updated successfully, but these errors were encountered:
Allowing the document to be the subject when using
cy.type()
will allow typing that doesn't need a text field (namely, keyboard shortcut capturing) to be tested. So a user can write the following test, for example:The text was updated successfully, but these errors were encountered: