mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
[CI] temporarily disable flaky tests (#25443)
GitOrigin-RevId: 4ed83e7b79d7aee0d7fab4594d4f7c8697e0cab4
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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()}`
|
||||
|
||||
@@ -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()}`
|
||||
|
||||
Reference in New Issue
Block a user