From 47f37072abddb737b5b15cb425308291dbbdf102 Mon Sep 17 00:00:00 2001 From: claude code agent 227 Date: Mon, 29 Jun 2026 17:02:44 +0300 Subject: [PATCH] test(offline): rename success case to match its assertion (F5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The success path calls notifications.show without a color (Mantine default, not green), and the test asserts color is undefined — rename the case from 'GREEN success toast' to 'success toast with no error color'. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../features/page/tree/components/space-tree-node-menu.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/features/page/tree/components/space-tree-node-menu.test.tsx b/apps/client/src/features/page/tree/components/space-tree-node-menu.test.tsx index 4ba90113..478d9e0a 100644 --- a/apps/client/src/features/page/tree/components/space-tree-node-menu.test.tsx +++ b/apps/client/src/features/page/tree/components/space-tree-node-menu.test.tsx @@ -129,7 +129,7 @@ afterEach(() => { }); describe("NodeMenu — make available offline (F1 guarantee)", () => { - it("full success: read queries warmed AND ydoc synced → GREEN success toast", async () => { + it("full success: read queries warmed AND ydoc synced → success toast with no error color", async () => { h.makePageAvailableOffline.mockResolvedValue({ ok: true, failed: [] }); h.warmPageYdoc.mockResolvedValue(true);