Skip to content

Commit

Permalink
Modify OIDC Cypress test
Browse files Browse the repository at this point in the history
Commented out lines for debugging purposes.
  • Loading branch information
sbreker committed Oct 16, 2024
1 parent 3bb55e4 commit 8409932
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/e2e/oidc/login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ describe('Login', () => {
it('Logs in through the user menu', () => {
cy.visit('/')
cy.contains('Log in').click()
cy.get('#csrf_token').should('exist')
cy.get('input#email').type(Cypress.env('adminEmail'))
cy.get('input#password').type(Cypress.env('adminPassword'))
cy.get('#user-menu + .dropdown-menu form').submit()
// cy.get('#csrf_token').should('exist')
// cy.get('input#email').type(Cypress.env('adminEmail'))
// cy.get('input#password').type(Cypress.env('adminPassword'))
// cy.get('#user-menu + .dropdown-menu form').submit()

cy.get('#user-menu').click()
cy.contains('Log out')
// cy.get('#user-menu').click()
// cy.contains('Log out')
})
})

0 comments on commit 8409932

Please sign in to comment.