chore(cypress): try to wait for redirectPath
parent
786233849f
commit
3911dacea8
|
|
@ -539,13 +539,11 @@ function wrapChronografUsers() {
|
|||
export function toInitialState() {
|
||||
cy.OAuthLogin('test')
|
||||
.url()
|
||||
.should('contain', '/landing')
|
||||
.should('contain', 'redirectPath')
|
||||
.then(() => {
|
||||
cy.get('body')
|
||||
.should('be.visible')
|
||||
.then(() => {
|
||||
cy.log('wait before using sources')
|
||||
cy.wait(2000)
|
||||
cy.request({
|
||||
method: 'GET',
|
||||
url: `${apiUrl}/sources`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue