1
0

feat(cypress): use cy.session

Also align repo closer to `create-vue` template and improve cypress integration
This commit is contained in:
Dominik Pschenitschni
2022-12-15 22:35:17 +01:00
parent 6ddfba4f1f
commit 4908469d49
44 changed files with 316 additions and 190 deletions

View File

@ -1,6 +1,12 @@
import '../../support/authenticateUser'
import {createFakeUserAndLogin} from '../../support/authenticateUser'
describe('The Menu', () => {
createFakeUserAndLogin()
beforeEach(() => {
cy.visit('/')
})
it('Is visible by default on desktop', () => {
cy.get('.namespace-container')
.should('have.class', 'is-active')