Remove more intercepts and waits that might be blocking the test from progressing.

This commit is contained in:
Ximon Eighteen
2021-08-03 10:00:19 +02:00
parent fa95116bc5
commit 45977aa136
@@ -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')
})