Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Attempt login.
  • Loading branch information
sbreker committed Oct 24, 2024
1 parent 67e42ef commit 45ff1a6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cypress/e2e/oidc/login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ describe('SSO Login with Keycloak', () => {
//cy.url({ timeout: 1000 }).should('include', 'oidc/login');
//cy.url({ timeout: 1000 }).should('include', 'realms/demo/protocol/openid-connect/auth')
cy.get('#username').type(Cypress.env('adminEmail'))
// cy.get('#password').type(Cypress.env('adminPassword'))
cy.get('#password').type(Cypress.env('adminPassword'))

// cy.get('#kc-login').click();
cy.get('#kc-login').click();
// cy.url().should('not.include', 'auth');
// cy.url().should('include', '/dashboard');
// cy.contains('Log out')
cy.contains('Demo').should('be.visible').click()
cy.contains('Log out').should('be.visible').click()
cy.contains('Log in')
})
})

0 comments on commit 45ff1a6

Please sign in to comment.