|
@@ -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')
|
|
|
})
|
|
})
|
|
|
|
|
|