Add new visit functions in e2e tests

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-01-30 21:46:43 +01:00
parent 566b3009b6
commit ca5dae3f82
34 changed files with 88 additions and 56 deletions
cypress/integration

View file

@ -27,13 +27,13 @@ const initLoggedOutTestWithCustomAuthProviders = (
...enabledProviders
}
})
cy.visit('/')
cy.visitHome()
cy.logout()
}
describe('When logged-in, ', () => {
it('sign-in button is hidden', () => {
cy.visit('/')
cy.visitHome()
cy.getByCypressId('sign-in-button').should('not.exist')
})
})