mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -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
|
@ -4,9 +4,11 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { PAGE_MODE } from '../support/visit'
|
||||
|
||||
describe('Document read only page', () => {
|
||||
it('renders the document mode', () => {
|
||||
cy.visit('/s/test')
|
||||
cy.visitTestNote(PAGE_MODE.DOCUMENT_READ_ONLY)
|
||||
cy.getMarkdownBody().should('exist')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue