Skip to content

Commit 780e027

Browse files
fix: update selectors in login function for Auth0 input fields
1 parent 532efad commit 780e027

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/smoke.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ if (!EMAIL || !PASSWORD) {
88
}
99

1010
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();
11+
cy.get('#username').clear().type(EMAIL);
12+
cy.get('#password').clear().type(PASSWORD);
13+
cy.get('button[type="submit"][name="action"]').contains(/^continue$/i).click({ force: true });
1414
};
1515

1616
describe('Smoke tests', () => {

0 commit comments

Comments
 (0)