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