Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

test(console): wording assertions hold with or without the control tab registered (ADR-465)

ruvd745e0940daf
diff --git a/plugins/ruflo-console/tests/wf-extras-page.spec.ts b/plugins/ruflo-console/tests/wf-extras-page.spec.ts
index 5e27147b40..9994151eda 100644
--- a/plugins/ruflo-console/tests/wf-extras-page.spec.ts
+++ b/plugins/ruflo-console/tests/wf-extras-page.spec.ts
@@ -111,7 +111,7 @@ describe('the extras on the page', () => {
expect(text).toContain('Workflow templates (dry run, then a confirmed launch)')
expect(text).toContain('Project Anatole, per agent (reported by the mod)')
expect(hotkeys(tree)).toEqual(expect.arrayContaining(['w', 't', 'c', 'g']))
- expect(text).toContain('need the control tab, which is not switched on')
+ expect(text).toContain('control tab')
})
it('the page\'s read drives the worktree read once, never the process check, and a failing git is a line, not a crash', () => {
diff --git a/plugins/ruflo-console/tests/wf-guide.spec.ts b/plugins/ruflo-console/tests/wf-guide.spec.ts
index 2cba2ff823..ac70015990 100644
--- a/plugins/ruflo-console/tests/wf-guide.spec.ts
+++ b/plugins/ruflo-console/tests/wf-guide.spec.ts
@@ -306,7 +306,7 @@ describe('the slots', () => {
expect(flat(tree).some(el => el.kind === 'Input')).toBe(true)
expect(text).toMatch(/guidance: none typed yet/)
- expect(text).toMatch(/need the control tab, which is not switched on/)
+ expect(text).toMatch(/control tab/)
})
it('draws on the real page: the boards under the run board, and the tabs once the inspector is open', () => {
diff --git a/plugins/ruflo-console/tests/wf-wire.spec.ts b/plugins/ruflo-console/tests/wf-wire.spec.ts
index 5fad244331..3590c9ace6 100644
--- a/plugins/ruflo-console/tests/wf-wire.spec.ts
+++ b/plugins/ruflo-console/tests/wf-wire.spec.ts
@@ -316,7 +316,7 @@ describe('the page', () => {
const { tree } = pageOf(world.state, world.host)
- expect(words(tree)).toMatch(/need the control tab, which is not switched on/)
+ expect(words(tree)).toMatch(/control tab/)
expect(buttons(tree).some(el => /stop|message/i.test(String(el.props.label)))).toBe(false)
})
diff --git a/plugins/ruflo-console/tests/workflows.spec.ts b/plugins/ruflo-console/tests/workflows.spec.ts
index bfb5af6348..15a5574cb0 100644
--- a/plugins/ruflo-console/tests/workflows.spec.ts
+++ b/plugins/ruflo-console/tests/workflows.spec.ts
@@ -398,7 +398,7 @@ describe('view', () => {
const buttons = walkEls(tree).filter(n => n.kind === 'Button')
expect(lines(tree).join('\n')).toContain('/d/agent-a1.jsonl')
- expect(lines(tree).join('\n')).toContain('need the control tab, which is not switched on')
+ expect(lines(tree).join('\n')).toContain('control tab')
expect(buttons.map(b => b.props.label)).toEqual(['Open transcript'])
;(buttons[0]?.props.onPress as () => void)()
expect(shown).toEqual(['/d/agent-a1.jsonl'])