Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Cypress/E2E: Fix long post attachments spec (#10812)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Baylon authored Jul 21, 2022
1 parent f527eff commit 707a67f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
// Stage: @prod
// Group: @messaging

import * as TIMEOUTS from '../../fixtures/timeouts';

describe('Messaging', () => {
before(() => {
// # Create new team and new user and visit off-topic
Expand Down Expand Up @@ -72,7 +74,7 @@ describe('Messaging', () => {

function verifyImageInPostFooter(verifyExistence = true) {
// * Verify that the image exists or not
cy.get('#advancedTextEditorCell').find('.file-preview').should(verifyExistence ? 'be.visible' : 'not.exist');
cy.get('#advancedTextEditorCell').find('.file-preview').should(verifyExistence ? 'be.visible' : 'not.exist').wait(TIMEOUTS.THREE_SEC);
}

function postAttachments() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Messaging', () => {
});
});

it('At-mention user autocomplete should open below the textbox in RHS when only one message is present', () => {
it('At-mention user autocomplete should open below the textbox in RHS when only one message is present -- KNOWN ISSUE: MM-45597', () => {
// # Add a single message to center textbox
cy.postMessage(MESSAGES.TINY);

Expand Down

0 comments on commit 707a67f

Please sign in to comment.