Преглед на файлове

Update E2E editor tests (#21704)

GitOrigin-RevId: a5613554f4942a8ec6d09423387cd0d93e9b1f6c
Alf Eaton преди 1 година
родител
ревизия
c6a186d436
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      server-ce/test/editor.spec.ts

+ 2 - 2
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')
     })