fix(tests): don't visit / directly but use navigation instead
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2022-01-30 15:25:34 +01:00
parent 05350affad
commit 3f893fb16d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 2 deletions

View File

@ -33,8 +33,12 @@ describe('List History', () => {
cy.wait('@loadNamespaces')
cy.wait('@loadList')
cy.visit('/')
cy.wait('@loadNamespaces')
// cy.visit('/')
// cy.wait('@loadNamespaces')
// Not using cy.visit here to work around the redirect issue fixed in #1337
cy.get('nav.menu.top-menu a')
.contains('Overview')
.click()
cy.get('body')
.should('contain', 'Last viewed')