We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ade0d1a + 4630a16 commit 5fd3d10Copy full SHA for 5fd3d10
cypress/e2e/smoke.cy.ts
@@ -8,9 +8,9 @@ if (!EMAIL || !PASSWORD) {
8
}
9
10
const loginToAuth0 = (): void => {
11
- cy.get('.auth0-lock-input-username .auth0-lock-input').clear().type(EMAIL);
12
- cy.get('.auth0-lock-input-password .auth0-lock-input').clear().type(PASSWORD);
13
- cy.get('.auth0-lock-submit').click();
+ cy.get('#username').clear().type(EMAIL);
+ cy.get('#password').clear().type(PASSWORD);
+ cy.get('button[type="submit"][name="action"]').contains(/^continue$/i).click({ force: true });
14
};
15
16
describe('Smoke tests', () => {
0 commit comments