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:
authorJulius Härtl <jus@bitgrid.net>2020-12-22 11:35:55 +0300
committerJulius Härtl <jus@bitgrid.net>2020-12-22 11:35:55 +0300
commit4163a2d459f9559838f7e5b5e1505d14eaeec9dd (patch)
tree9a19c034e538f70935cd5ef0b506018c9b80ee9b /cypress
parentb17494c43104f4731a2280c88aac32076d939c6a (diff)
Properly check for nonexisting viewer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/integration/viewer.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/integration/viewer.spec.js b/cypress/integration/viewer.spec.js
index 4fb0940f2..d28360927 100644
--- a/cypress/integration/viewer.spec.js
+++ b/cypress/integration/viewer.spec.js
@@ -76,7 +76,7 @@ describe('Open test.md in viewer', function() {
it('Closes the editor', function() {
cy.get('.modal-header button.icon-close').click()
- cy.get('#viewer').should('not.be.visible')
+ cy.get('#viewer').should('not.exist')
})
it('Take screenshot', function() {