Merge pull request #1456 from slumbering/fix/cypress-timeout

Increate cypress.get timeout to avoid github action errors
This commit is contained in:
Gerhard Lazu 2022-01-19 14:32:16 +00:00 committed by GitHub
commit 6aed3348a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,11 +36,7 @@ describe('Visit Docs website', function() {
})
})
cy.visit('http://localhost:3001?code=jergub54545')
cy.get('[data-cy=cy-page-redirect]').should('exist')
// cy.wait(10000)
// cy.location().should((location) => {
// expect(location.host).to.eq('dagger.io')
// })
cy.get('[data-cy=cy-page-redirect]', {timeout: 10000}).should('exist')
})
it('Visit docs website with a user not authorized', function() {