Skip to content

The agent that grows with you

test: follow-up for salvaged PR #89020 — focused-highlight contract includes the !activeGroup guard

Tekniumaf3373f7c817
diff --git a/apps/desktop/src/plugins/hermes-bots/tests/focused-bot-highlight.test.mjs b/apps/desktop/src/plugins/hermes-bots/tests/focused-bot-highlight.test.mjs
index 8ac0d20b0f8..bf0b6783529 100644
--- a/apps/desktop/src/plugins/hermes-bots/tests/focused-bot-highlight.test.mjs
+++ b/apps/desktop/src/plugins/hermes-bots/tests/focused-bot-highlight.test.mjs
@@ -25,7 +25,7 @@ test('BotRow keys the highlight off the focused profile, not the socket home', (
const row = source.slice(rowStart, rowStart + 2000)
assert.match(row, /const focusedProfile = useValue\(\$focusedBotProfile\)/)
- assert.match(row, /const isActive = !bot\.remoteSource && bot\.name === focusedProfile/)
+ assert.match(row, /const isActive = !activeGroup && !bot\.remoteSource && bot\.name === focusedProfile/)
})
test('BotRow keeps turn-busy (work mood) a socket fact', () => {