Răsfoiți Sursa

[CI] temporarily disable flaky tests (#25443)

GitOrigin-RevId: 4ed83e7b79d7aee0d7fab4594d4f7c8697e0cab4
Jakob Ackermann 1 an în urmă
părinte
comite
bc4550c1f9

+ 14 - 11
server-ce/test/project-sharing.spec.ts

@@ -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() {

+ 3 - 1
server-ce/test/sandboxed-compiles.spec.ts

@@ -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()}`

+ 3 - 1
server-ce/test/templates.spec.ts

@@ -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()}`

+ 3 - 1
services/web/test/frontend/features/project-list/components/table/project-list-table.test.tsx

@@ -7,7 +7,9 @@ import { renderWithProjectListContext } from '../../helpers/render-with-context'
 
 const userId = '624333f147cfd8002622a1d3'
 
-describe('<ProjectListTable />', function () {
+// TODO(25331): re-enable
+// eslint-disable-next-line mocha/no-skipped-tests
+describe.skip('<ProjectListTable />', function () {
   beforeEach(function () {
     window.metaAttributesCache.set('ol-tags', [])
     window.metaAttributesCache.set('ol-user_id', userId)