mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-12 20:47:41 +02:00
Remove more intercepts and waits that might be blocking the test from progressing.
This commit is contained in:
@@ -194,10 +194,10 @@ describe('OpenID Connect provider with RP-Initiated logout', () => {
|
||||
|
||||
// verify that if we reload the Krill UI we are shown the OpenID Connect
|
||||
// provider login page
|
||||
cy.intercept({ method: 'GET', path: '/auth/login'}).as('getLoginURL')
|
||||
cy.intercept({ method: 'GET', url: /^https:\/\/localhost:1818\/authorize.+/}).as('oidcLoginForm')
|
||||
// cy.intercept({ method: 'GET', path: '/auth/login'}).as('getLoginURL')
|
||||
// cy.intercept({ method: 'GET', url: /^https:\/\/localhost:1818\/authorize.+/}).as('oidcLoginForm')
|
||||
cy.visit('/')
|
||||
cy.wait(['@getLoginURL', '@oidcLoginForm'])
|
||||
// cy.wait(['@getLoginURL', '@oidcLoginForm'])
|
||||
cy.url().should('not.include', Cypress.config('baseUrl'))
|
||||
cy.contains('Mock OpenID Connect login form')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user