diff --git a/server-ce/test/editor.spec.ts b/server-ce/test/editor.spec.ts index 572d80965c..76dd74f3aa 100644 --- a/server-ce/test/editor.spec.ts +++ b/server-ce/test/editor.spec.ts @@ -305,7 +305,7 @@ describe('editor', () => { cy.findByText('Layout').click() cy.findByText('Editor only').click() - cy.get('.pdf-viewer').should('not.exist') + cy.get('.pdf-viewer').should('not.be.visible') cy.get('.cm-editor').should('be.visible') cy.findByText('Switch to PDF').click() @@ -315,7 +315,7 @@ describe('editor', () => { cy.findByText('Switch to editor').click() - cy.get('.pdf-viewer').should('not.exist') + cy.get('.pdf-viewer').should('not.be.visible') cy.get('.cm-editor').should('be.visible') })