mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Update E2E editor tests (#21704)
GitOrigin-RevId: a5613554f4942a8ec6d09423387cd0d93e9b1f6c
This commit is contained in:
parent
9659294459
commit
c6a186d436
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue