The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): New Group Chat mounted before the boot activation enables Create
Teknium260fa6d18365
diff --git a/apps/desktop/src/store/gateway-activation-epoch-groups.test.tsx b/apps/desktop/src/store/gateway-activation-epoch-groups.test.tsxindex 0ce2368e91c..5f13474f1e3 100644--- a/apps/desktop/src/store/gateway-activation-epoch-groups.test.tsx+++ b/apps/desktop/src/store/gateway-activation-epoch-groups.test.tsx@@ -187,6 +187,19 @@ it('New Group Chat stays creatable after an activation that follows a healthy anawait waitFor(() => expect(createButton().disabled).toBe(false))})+// The live repro: a relaunch (or Webapp reload) restores the Bots pane, so the+// roster mounts the closed dialog before the boot activation bumps the epoch.+it('New Group Chat mounted closed before the boot activation enables Create once opened', async () => {+ request.mockResolvedValue(payload)+ const { rerender } = render(<CreateGroupChatDialog onClose={vi.fn()} open={false} roster={roster} />)++ await activate()+ rerender(<CreateGroupChatDialog onClose={vi.fn()} open roster={roster} />)+ tickAll()++ await waitFor(() => expect(createButton().disabled).toBe(false), { timeout: 2000 })+})+it('the existing-room execution gate re-probes after an activation, then settles', async () => {request.mockImplementation(async (_route: unknown, method: string) => {if (method === 'groups.capabilities') {