Skip to content

Commit

Permalink
created cypress sample env file
Browse files Browse the repository at this point in the history
  • Loading branch information
rowland henshaw committed Mar 7, 2019
1 parent f572f55 commit f563f20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress.env.json.sample
@@ -0,0 +1,4 @@
{
"username": "your-username",
"password": "Your-Password"
}
1 change: 1 addition & 0 deletions cypress/support/commands.js
Expand Up @@ -44,6 +44,7 @@ Cypress.Commands.add('login', (username = Cypress.env('username'), password = Cy
.type(password)
.should('have.value', password);

// get the first available location
cy.get('#sessionLocation').get('li').first().click();


Expand Down

0 comments on commit f563f20

Please sign in to comment.