Last active
May 25, 2021 21:02
-
-
Save dannyshain/e3d2eb7d94f3652e679f4b0df77a6799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cy.on('window:confirm', (text) => { | |
expect(text).to.contains('Would you like to confirm?'); | |
return false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment