Merge pull request #13571 from overleaf/bg-disable-flaky-cypress-tests

disable flaky cypress tests

GitOrigin-RevId: 3ff8a8a50aff352251eb23daa86e55650ca1f369
This commit is contained in:
Brian Gough 2023-06-28 08:17:05 +01:00 committed by Copybot
parent 29f67a3985
commit 137eda06f0
4 changed files with 8 additions and 4 deletions

View file

@ -22,7 +22,8 @@ describe('<EditorLeftMenu />', function () {
window.metaAttributesCache = new Map()
})
describe('for non-anonymous users', function () {
// eslint-disable-next-line mocha/no-skipped-tests
describe.skip('for non-anonymous users', function () {
const overallThemes: OverallThemeMeta[] = [
{
name: 'Overall Theme 1',

View file

@ -99,7 +99,8 @@ describe('<PdfPreview/>', function () {
cy.contains('Your Paper')
})
it('does not compile while compiling', function () {
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('does not compile while compiling', function () {
let counter = 0
cy.interceptDeferredCompile(() => counter++).then(
resolveDeferredCompile => {

View file

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

View file

@ -362,7 +362,8 @@ describe('change list', function () {
waitForData()
})
it('adds badge/label', function () {
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('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()