mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-12 07:30:46 +02:00
Merge pull request #30848 from overleaf/mg-fix-context-text
[web] fix test selectors for editor context menu test GitOrigin-RevId: 2d07c9d0416543ab1d9498c69a13809a801708fd
This commit is contained in:
+3
-3
@@ -836,7 +836,7 @@ describe('editor context menu', { scrollBehavior: false }, function () {
|
||||
cy.get('.review-tooltip-menu').should('exist')
|
||||
|
||||
cy.get('.cm-line').eq(5).rightclick()
|
||||
cy.get('.editor-context-menu').should('be.visible')
|
||||
cy.findByRole('menu').should('be.visible')
|
||||
cy.get('.review-tooltip-menu').should('not.exist')
|
||||
})
|
||||
|
||||
@@ -895,7 +895,7 @@ describe('editor context menu', { scrollBehavior: false }, function () {
|
||||
cy.get('.ol-cm-spelling-context-menu-tooltip').should('be.visible')
|
||||
|
||||
cy.get('.cm-line').eq(5).rightclick()
|
||||
cy.get('.editor-context-menu').should('be.visible')
|
||||
cy.findByRole('menu').should('be.visible')
|
||||
cy.get('.ol-cm-spelling-context-menu-tooltip').should('not.exist')
|
||||
})
|
||||
|
||||
@@ -923,7 +923,7 @@ describe('editor context menu', { scrollBehavior: false }, function () {
|
||||
cy.get('.cm-line').eq(5).rightclick()
|
||||
|
||||
cy.get('.ol-cm-math-tooltip').should('not.exist')
|
||||
cy.get('.editor-context-menu').should('be.visible')
|
||||
cy.findByRole('menu').should('be.visible')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user