Last active
January 9, 2022 09:28
-
-
Save hypeJunction/e5e41e675197366924dd014ddf0a7e63 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.getInput('Add File').attach('elephant.pdf'); | |
cy.getInput('Add File') | |
.alerts() | |
.should('include', 'PDF files are not supported'); | |
cy.getList('File List') | |
.getListItem('elephant.pdf') | |
.alerts() | |
.should('include', 'PDF files are not supported'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment