Created
March 22, 2022 16:37
-
-
Save maxhoheiser/209b4b61f21b1fc29f348bdca1f3dbff to your computer and use it in GitHub Desktop.
Example custom Cypress command in index.js
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
Cypress.Commands.add('confirmMetamaskEncryptionPublicKeyRequest', () => { | |
return cy.task('confirmMetamaskEncryptionPublicKeyRequest'); | |
}); | |
Cypress.Commands.add('rejectMetamaskEncryptionPublicKeyRequest', () => { | |
return cy.task('rejectMetamaskEncryptionPublicKeyRequest'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment