Skip to content

Commit

Permalink
css selector
Browse files Browse the repository at this point in the history
Signed-off-by: ac892247 <[email protected]>
  • Loading branch information
achmelo committed Dec 12, 2024
1 parent 9ea53fe commit b99e480
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api-catalog-ui/frontend/cypress/e2e/login/login-oauth.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ describe('>>> Login through Okta OK', () => {
cy.log("System env CYPRESS_OKTA_PASSWORD is not set");
}

cy.get('form span.o-form-input-name-identifier input').type(username);
cy.get('form span.o-form-input-name-username input').type(username);
cy.get('form input[type="password"]').type(password);

cy.get('form input.button-primary').should('not.be.disabled');
cy.get('form input.button-primary').click();

cy.location('href').should('contain', '/oauth2/v1/authorize')

cy.url().should('contain', '/application');

Expand Down

0 comments on commit b99e480

Please sign in to comment.