From c6a186d4360b2cdbdc4bfe5e77cbe74559c67128 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 7 Nov 2024 11:32:42 +0000 Subject: [PATCH] Update E2E editor tests (#21704) GitOrigin-RevId: a5613554f4942a8ec6d09423387cd0d93e9b1f6c --- server-ce/test/editor.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') })