Skip to content

Commit bc22e33

Browse files
committed
test: closing the non-viewer modal in shared folder
This is a regression tests for #2104. Signed-off-by: Max <max@nextcloud.com>
1 parent c9f82e1 commit bc22e33

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cypress/integration/share.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ describe('Open test.md in viewer', function() {
138138
cy.get('#editor-container').should('be.visible')
139139
cy.get('#editor .ProseMirror').should('contain', 'Hello world')
140140
cy.get('#editor .ProseMirror h2').should('contain', 'Hello world')
141+
cy.get('.modal-header button.header-close').click()
142+
cy.get('.modal-mask').should('not.exist')
141143
})
142144
})
143145
})

0 commit comments

Comments
 (0)