diff --git a/e2e-tests/cypress/tests/integration/channels/enterprise/profile_popover/profile_popover_spec.ts b/e2e-tests/cypress/tests/integration/channels/enterprise/profile_popover/profile_popover_spec.ts index 50c2cbd69b..0c160e92b7 100644 --- a/e2e-tests/cypress/tests/integration/channels/enterprise/profile_popover/profile_popover_spec.ts +++ b/e2e-tests/cypress/tests/integration/channels/enterprise/profile_popover/profile_popover_spec.ts @@ -347,8 +347,8 @@ describe('Profile popover', () => { // # Visit that channel cy.visit(`/${testTeam.name}/channels/${testChannel.name}`); - // * Verify that there are 2 post views now. - cy.findAllByTestId('postView', {timeout: TIMEOUTS.ONE_MIN}).should('have.length', 2); + // * Verify that there are 1 post views now. + cy.findAllByTestId('postView', {timeout: TIMEOUTS.ONE_MIN}).should('have.length', 1); // * Verify that user added message is there. cy.findAllByTestId('postView').last().find('.post-message__text').should('contain.text', `@${testUser.username} added to the channel by you.`); diff --git a/e2e-tests/cypress/tests/integration/channels/enterprise/system_console/user_management/user_management_admin_control_spec.js b/e2e-tests/cypress/tests/integration/channels/enterprise/system_console/user_management/user_management_admin_control_spec.js index 7d0c5c60c1..971deaa354 100644 --- a/e2e-tests/cypress/tests/integration/channels/enterprise/system_console/user_management/user_management_admin_control_spec.js +++ b/e2e-tests/cypress/tests/integration/channels/enterprise/system_console/user_management/user_management_admin_control_spec.js @@ -44,7 +44,7 @@ describe('User Management', () => { cy.visit('/admin_console/user_management/users'); gotoUserConfigurationPage(testUser); - verifyManageUserSettingModal(testUser); + verifyManageUserSettingModal(testUser, true); cy.get('#replyNotificationsTitle').should('be.visible').should('have.text', 'Reply notifications').click(); cy.get('#notificationCommentsNever').should('be.checked'); diff --git a/e2e-tests/cypress/tests/integration/channels/messaging/mention_autocomplete_overlap_spec.js b/e2e-tests/cypress/tests/integration/channels/messaging/mention_autocomplete_overlap_spec.js index 3fc7934225..c4cbf47c6c 100644 --- a/e2e-tests/cypress/tests/integration/channels/messaging/mention_autocomplete_overlap_spec.js +++ b/e2e-tests/cypress/tests/integration/channels/messaging/mention_autocomplete_overlap_spec.js @@ -21,7 +21,7 @@ describe('Messaging', () => { }); }); - it('At-mention user autocomplete should open below the textbox in RHS when only one message is present -- KNOWN ISSUE: MM-45597', () => { + it('At-mention user autocomplete should open above the textbox in RHS when only one message is present', () => { // # Add a single message to center textbox cy.postMessage(MESSAGES.TINY); @@ -36,8 +36,8 @@ describe('Messaging', () => { cy.uiGetReplyTextBox().then((replyTextbox) => { cy.get('#suggestionList').then((suggestionList) => { - // * Verify that the suggestion box opened below the textbox - expect(replyTextbox[0].getBoundingClientRect().top).to.be.lessThan(suggestionList[0].getBoundingClientRect().top); + // * Verify that the suggestion box opened above the textbox + expect(replyTextbox[0].getBoundingClientRect().top).to.be.greaterThan(suggestionList[0].getBoundingClientRect().top); }); });