From 09146310dbf6605eb4e01305c830756ccd0035cd Mon Sep 17 00:00:00 2001 From: sabril <5334504+saturninoabril@users.noreply.github.com> Date: Tue, 10 Jun 2025 12:34:36 +0800 Subject: [PATCH] fix MM-T5671 (#31352) Co-authored-by: Mattermost Build --- .../channels/collapsed_reply_threads/unread_spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/unread_spec.ts b/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/unread_spec.ts index 702eca03a8..8adaa80b25 100644 --- a/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/unread_spec.ts +++ b/e2e-tests/cypress/tests/integration/channels/collapsed_reply_threads/unread_spec.ts @@ -96,7 +96,7 @@ describe('Collapsed Reply Threads', () => { }); }); - it.skip('MM-T5671 should handle mention counts correctly when marking a thread as unread and unfollowing it', () => { + it('MM-T5671 should handle mention counts correctly when marking a thread as unread and unfollowing it', () => { // # Post a root post as current user cy.postMessageAs({ sender: otherUser, @@ -135,6 +135,9 @@ describe('Collapsed Reply Threads', () => { // # Switch to a different team cy.apiCreateTeam('team', 'Team').then(({team: otherTeam}) => { + // # Reload the page to ensure newly created team is loaded + cy.reload(); + // # Click on the other team button to switch teams cy.get(`#${otherTeam.name}TeamButton`).click();