-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct username and password for cypress (#170)
- Loading branch information
1 parent
6b72eb3
commit 179b97d
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
const EMAIL = '[email protected]'; | ||
const PASSWORD = Cypress.env('INTEGRATION_PASSWORD'); | ||
const EMAIL = Cypress.env('USER_EMAIL'); | ||
const PASSWORD = Cypress.env('USER_PASSWORD'); | ||
|
||
if (!EMAIL || !PASSWORD) { | ||
throw new Error( | ||
'You must provide CYPRESS_USER_EMAIL and CYPRESS_USER_PASSWORD environment variables' | ||
); | ||
} | ||
|
||
const loginToAuth0 = () => { | ||
cy.get('.auth0-lock-form') | ||
|