mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Add new visit functions in e2e tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
566b3009b6
commit
ca5dae3f82
34 changed files with 88 additions and 56 deletions
|
@ -8,7 +8,7 @@
|
|||
describe('Intro page', () => {
|
||||
beforeEach(() => {
|
||||
cy.intercept('/mock-backend/public/intro.md', 'test content')
|
||||
cy.visit('/')
|
||||
cy.visitHome()
|
||||
})
|
||||
|
||||
describe('customizable content', () => {
|
||||
|
@ -20,7 +20,7 @@ describe('Intro page', () => {
|
|||
cy.intercept('/mock-backend/public/intro.md', {
|
||||
statusCode: 404
|
||||
})
|
||||
cy.visit('/')
|
||||
cy.visitHome()
|
||||
|
||||
cy.getByCypressId('documentIframe').should('not.exist')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue