The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): the mounted group room clears its working indicator on settle
Tekniume0c479382e36
diff --git a/apps/desktop/src/plugins/hermes-bots/canonical-group-workspace.test.tsx b/apps/desktop/src/plugins/hermes-bots/canonical-group-workspace.test.tsxindex 3e8192386a7..e5d0c24c2d8 100644--- a/apps/desktop/src/plugins/hermes-bots/canonical-group-workspace.test.tsx+++ b/apps/desktop/src/plugins/hermes-bots/canonical-group-workspace.test.tsx@@ -189,14 +189,13 @@ it('shows which bots are working, and still says the group is working on a gatewconst phase = (name: string) => screen.getByText(name).closest('li')?.getAttribute('data-phase')expect([phase('Ops'), phase('QA')]).toEqual(['working', 'queued'])+ // The same mounted room clears both indicators on its next poll once the turn settles.+ driver = { working: false, member_activity: [] }+ await waitFor(() => expect(screen.queryByRole('status')).toBeNull(), { timeout: 5_000 })+ expect([phase('Ops'), phase('QA')]).toEqual(['idle', 'idle'])+view.unmount()driver = { working: true }render(<CanonicalGroupWorkspace binding={{ connectionId: 'local', profile: 'team', roomId: 'older' }} />)await waitFor(() => expect(screen.getByRole('status').textContent).toBe('The group is working…'))-- cleanup()- driver = { working: false, member_activity: [] }- render(<CanonicalGroupWorkspace binding={{ connectionId: 'local', profile: 'team', roomId: 'idle' }} />)- await waitFor(() => expect(screen.getByText('Ops').closest('li')?.getAttribute('data-phase')).toBe('idle'))- expect(screen.queryByRole('status')).toBeNull()})