From 14c77e0b6fe680d0c22e5b27327f731ce3ad4970 Mon Sep 17 00:00:00 2001 From: Max Lampert Date: Thu, 20 Aug 2026 23:41:38 -0700 Subject: [PATCH] fix(desktop): accept just-now channel activity in tooltip spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The channel-link tooltip expectation added in #6252 only allows 'Active Nm ago', but the spec sends a message to #general immediately before hovering, so the footer deterministically renders 'Active just now' — Desktop Smoke E2E shard 4 has been red on main since de8a2741c. The sibling message-link assertion already allows the just-now bucket; this aligns the channel one. --- desktop/tests/e2e/tooltip-semantics.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/tests/e2e/tooltip-semantics.spec.ts b/desktop/tests/e2e/tooltip-semantics.spec.ts index 73306f025cf..90ccd061bfc 100644 --- a/desktop/tests/e2e/tooltip-semantics.spec.ts +++ b/desktop/tests/e2e/tooltip-semantics.spec.ts @@ -142,7 +142,7 @@ for (const theme of THEMES) { await expect(row).toBeVisible(); await expectMutedSupportingText( row.getByRole("button", { name: "Open channel general" }), - /Public channel · Active \d+[mhdw] ago/, + /Public channel · Active (just now|\d+[mhdw] ago)/, ); await page.mouse.move(0, 0); await expectMutedSupportingText(