[CI] temporarily disable flaky tests (#25443)

GitOrigin-RevId: 4ed83e7b79d7aee0d7fab4594d4f7c8697e0cab4
This commit is contained in:
Jakob Ackermann
2025-05-09 11:06:49 +02:00
committed by Copybot
parent fba8f776a1
commit bc4550c1f9
4 changed files with 23 additions and 14 deletions

View File

@@ -36,13 +36,14 @@ describe('Project Sharing', function () {
login('user@example.com')
createProject(projectName)
// Add chat message
cy.findByText('Chat').click()
// wait for lazy loading of the chat pane
cy.findByText('Send your first message to your collaborators')
cy.get(
'textarea[placeholder="Send a message to your collaborators…"]'
).type('New Chat Message{enter}')
// TODO(25342): re-enable
// // Add chat message
// cy.findByText('Chat').click()
// // wait for lazy loading of the chat pane
// cy.findByText('Send your first message to your collaborators')
// cy.get(
// 'textarea[placeholder="Send a message to your collaborators…"]'
// ).type('New Chat Message{enter}')
// Get link sharing links
enableLinkSharing().then(
@@ -94,8 +95,9 @@ describe('Project Sharing', function () {
}
function expectChatAccess() {
cy.findByText('Chat').click()
cy.findByText('New Chat Message')
// TODO(25342): re-enable
// cy.findByText('Chat').click()
// cy.findByText('New Chat Message')
}
function expectHistoryAccess() {
@@ -109,8 +111,9 @@ describe('Project Sharing', function () {
}
function expectNoChatAccess() {
cy.findByText('Layout') // wait for lazy loading
cy.findByText('Chat').should('not.exist')
// TODO(25342): re-enable
// cy.findByText('Layout') // wait for lazy loading
// cy.findByText('Chat').should('not.exist')
}
function expectNoHistoryAccess() {

View File

@@ -59,7 +59,9 @@ describe('SandboxedCompiles', function () {
})
function checkSyncTeX() {
describe('SyncTeX', function () {
// TODO(25342): re-enable
// eslint-disable-next-line mocha/no-skipped-tests
describe.skip('SyncTeX', function () {
let projectName: string
beforeEach(function () {
projectName = `Project ${uuid()}`

View File

@@ -47,7 +47,9 @@ describe('Templates', () => {
cy.url().should('match', /\/templates$/)
})
it('should have templates feature', () => {
// TODO(25342): re-enable
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('should have templates feature', () => {
login(TEMPLATES_USER)
const name = `Template ${Date.now()}`
const description = `Template Description ${Date.now()}`