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

View file

@ -4,9 +4,11 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { PAGE_MODE } from '../support/visit'
describe('Slideshow only page', () => {
it('renders slide show mode', () => {
cy.visit('/p/test')
cy.visitTestNote(PAGE_MODE.PRESENTATION)
cy.getReveal().should('exist')
})
})