Skip to content

Commit

Permalink
Use correct username and password for cypress (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Jun 16, 2021
1 parent 6b72eb3 commit 179b97d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions projects/playground/e2e/integration/playground.spec.ts
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')
Expand Down

0 comments on commit 179b97d

Please sign in to comment.