Created
May 9, 2019 06:53
-
-
Save kianaditya/be77acdb231238a47b6f45ef6766dda9 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
let form = [ | |
["input[name=email]", "[email protected]"], | |
["input[name=password]", "password"], | |
["input[name=password_confirmation]", "password"], | |
["input[name=first_name]", "John"], | |
["input[name=last_name]", "Doe"] | |
] | |
form.forEach(element => { | |
cy.get(element[0]).type(element[1]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment