Merge pull request #15455 from overleaf/mj-enable-all-the-things

[web] Enable skipped cypress tests

GitOrigin-RevId: 36cffbb2cc72ffb4cae9e5b8eaa57f7ba7929fa7
This commit is contained in:
Mathias Jakobsen 2023-10-27 11:00:46 +01:00 committed by Copybot
parent 5c7fbdceac
commit edb4d7b84e
3 changed files with 5 additions and 10 deletions

View file

@ -83,8 +83,7 @@ describe('<PdfSynctexControls/>', function () {
cy.interceptEvents()
})
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('handles clicks on sync buttons', function () {
it('handles clicks on sync buttons', function () {
cy.interceptCompile()
const scope = mockScope()
@ -214,8 +213,7 @@ describe('<PdfSynctexControls/>', function () {
cy.get('.synctex-control-icon').should('not.exist')
})
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('send set highlights action', function () {
it('send set highlights action', function () {
cy.interceptCompile()
const scope = mockScope()

View file

@ -435,8 +435,7 @@ describe('change list', function () {
waitForData()
})
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('adds badge/label', function () {
it('adds badge/label', function () {
cy.findAllByTestId('history-version-details').eq(1).as('version')
cy.get('@version').within(() => {
cy.findByRole('button', { name: /more actions/i }).click()

View file

@ -66,8 +66,7 @@ describe('useDetachLayout', function () {
cy.get('#role').should('have.text', 'detacher')
})
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('detacher role', function () {
it('detacher role', function () {
// 1. create hook in detacher mode
window.metaAttributesCache.set('ol-detachRole', 'detacher')
@ -136,8 +135,7 @@ describe('useDetachLayout', function () {
})
})
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('reset detacher role when other detacher tab connects', function () {
it('reset detacher role when other detacher tab connects', function () {
// 1. create hook in detacher mode
window.metaAttributesCache.set('ol-detachRole', 'detacher')