From 03c67656898aed0f369f2198929e1cff89e78a5a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 21 Aug 2026 16:08:28 +0000 Subject: [PATCH] test(desktop-e2e): accept 'just now' on channel link tooltips The channel-tooltip assertion required `Active \d+[mhdw] ago`, so both themes failed when activity was recent enough to render `Active just now`. Mirror the message-chip regex already in the same spec. Signed-off-by: Cursor Agent Co-authored-by: Adrien Lacombe --- 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(