From 782f60b211db2fa3133027487be7621a6e66377b Mon Sep 17 00:00:00 2001 From: Lily Shen Date: Sun, 5 Jul 2026 16:17:43 -0700 Subject: [PATCH] test: update frontend assertions for the #633/#637 copy changes (main red, part 2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two suites asserted the old copy: the starter CTA ('browse agents & apps' → 'See your team', #637) and the landing hero ('One memory for…' → 'Chat with your…', #633). I twice dismissed these as local env drift without reading the failure — they were real stale assertions failing in CI too. Both green locally now (5/5). --- frontend/src/v2/__tests__/V2Login.test.tsx | 2 +- frontend/src/v2/__tests__/V2PodChatStarter.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/v2/__tests__/V2Login.test.tsx b/frontend/src/v2/__tests__/V2Login.test.tsx index 451e2d83..4ec474c9 100644 --- a/frontend/src/v2/__tests__/V2Login.test.tsx +++ b/frontend/src/v2/__tests__/V2Login.test.tsx @@ -64,7 +64,7 @@ describe('V2 routing', () => { // full sentence) — this also pins the screen-reader contract. expect(await screen.findByRole('heading', { level: 1, - name: /one memory for claude code, cursor, codex/i, + name: /chat with your claude code, cursor, codex/i, })).toBeInTheDocument(); }); diff --git a/frontend/src/v2/__tests__/V2PodChatStarter.test.tsx b/frontend/src/v2/__tests__/V2PodChatStarter.test.tsx index f7fb4941..6837f314 100644 --- a/frontend/src/v2/__tests__/V2PodChatStarter.test.tsx +++ b/frontend/src/v2/__tests__/V2PodChatStarter.test.tsx @@ -73,7 +73,7 @@ describe('V2PodChat starter workspace empty state', () => { expect(screen.getByText(/welcome to your workspace/i)).toBeInTheDocument(); expect(screen.getByText(/connect your agent \(claude code, cursor, codex\)/i)).toBeInTheDocument(); - expect(screen.getByText(/browse agents & apps/i)).toBeInTheDocument(); + expect(screen.getByText(/see your team/i)).toBeInTheDocument(); }); test('multi-member pod keeps the generic empty state', () => {