Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: closing the non-viewer modal in shared folder
This is a regression tests for #2104.

Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Mar 2, 2022
commit bc22e3335e2229fd0998827f5b3b4bd4e0fdf4b9
2 changes: 2 additions & 0 deletions cypress/integration/share.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ describe('Open test.md in viewer', function() {
cy.get('#editor-container').should('be.visible')
cy.get('#editor .ProseMirror').should('contain', 'Hello world')
cy.get('#editor .ProseMirror h2').should('contain', 'Hello world')
cy.get('.modal-header button.header-close').click()
cy.get('.modal-mask').should('not.exist')
})
})
})
Expand Down