Update E2E editor tests (#21704)

GitOrigin-RevId: a5613554f4942a8ec6d09423387cd0d93e9b1f6c
This commit is contained in:
Alf Eaton 2024-11-07 11:32:42 +00:00 committed by Copybot
parent 9659294459
commit c6a186d436

View file

@ -305,7 +305,7 @@ describe('editor', () => {
cy.findByText('Layout').click() cy.findByText('Layout').click()
cy.findByText('Editor only').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.get('.cm-editor').should('be.visible')
cy.findByText('Switch to PDF').click() cy.findByText('Switch to PDF').click()
@ -315,7 +315,7 @@ describe('editor', () => {
cy.findByText('Switch to editor').click() 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') cy.get('.cm-editor').should('be.visible')
}) })