The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(skills): add coverage for workflow runner body
Steven Enamakela865888c9301
diff --git a/app/src/components/skills/__tests__/WorkflowRunnerBody.test.tsx b/app/src/components/skills/__tests__/WorkflowRunnerBody.test.tsxindex a18edd80be..5932aabaa5 100644--- a/app/src/components/skills/__tests__/WorkflowRunnerBody.test.tsx+++ b/app/src/components/skills/__tests__/WorkflowRunnerBody.test.tsx@@ -894,6 +894,18 @@ describe('WorkflowRunnerBody — recent runs status badges', () => {});});+ it('shows a STOPPED run as a warning, not a failure', async () => {+ hoisted.recentRuns.mockResolvedValue([makeRecentRun('STOPPED'), makeRecentRun('FAILED')]);+ const Body = await importBody();+ renderBody(Body);++ const stopped = await screen.findByText('STOPPED');+ expect(stopped.closest('[data-slot="badge"]')).toHaveAttribute('data-variant', 'warning');+ expect(+ screen.getByText('FAILED').closest('[data-slot="badge"]')+ ).toHaveAttribute('data-variant', 'danger');+ });+it('expands a recent run row and shows tailing indicator', async () => {hoisted.recentRuns.mockResolvedValue([makeRecentRun('DONE')]);hoisted.readRunLog.mockResolvedValue({