Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-01-18 10:43:51 +0300
committerMax <max@nextcloud.com>2022-03-02 12:46:15 +0300
commitbc22e3335e2229fd0998827f5b3b4bd4e0fdf4b9 (patch)
treeb87e288b7c3d35b3c8636a6e0abb3cff878b5c13 /cypress
parentc9f82e11cf306baacb4e573a3b0ec56fc85ba565 (diff)
test: closing the non-viewer modal in shared folder
This is a regression tests for #2104. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/integration/share.spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cypress/integration/share.spec.js b/cypress/integration/share.spec.js
index d556a6ef0..74593427b 100644
--- a/cypress/integration/share.spec.js
+++ b/cypress/integration/share.spec.js
@@ -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')
})
})
})