Created
January 8, 2022 13:17
-
-
Save hypeJunction/89ba4989ced239ec931fdffd4043ae1a 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.getForm('Login').within(() => { | |
cy.getInput('Username').type('john.doe'); | |
cy.getInput('Password').type('secret'); | |
cy.getButton('Submit').press(); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment