diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-22 11:35:55 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-22 11:35:55 +0300 |
commit | 4163a2d459f9559838f7e5b5e1505d14eaeec9dd (patch) | |
tree | 9a19c034e538f70935cd5ef0b506018c9b80ee9b /cypress | |
parent | b17494c43104f4731a2280c88aac32076d939c6a (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.js | 2 |
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() { |