Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Use platform-aware browser profile assertions

Fei24117d3f800f5ff7
diff --git a/ds-bot/test/browser-plugins.test.js b/ds-bot/test/browser-plugins.test.js
index 0551fd42..2480e4ba 100644
--- a/ds-bot/test/browser-plugins.test.js
+++ b/ds-bot/test/browser-plugins.test.js
@@ -124,8 +124,8 @@ test('the selected plugin is the same for every Bot, and profiles stay apart', a
const writer = await tool.execute({}, { agent: { id: 'b2' } })
const chief = await tool.execute({}, { agent: { id: 'm1' } })
assert.deepEqual(seen, ['b2', 'm1'])
- assert.match(writer, /browser-profiles\/b2$/)
- assert.match(chief, /browser-profiles\/m1$/)
+ assert.ok(writer.endsWith(join('browser-profiles', 'b2')))
+ assert.ok(chief.endsWith(join('browser-profiles', 'm1')))
assert.equal(await tool.execute({}, { agent: { id: 'stranger' } }), 'Only Bots on the team have a browser.')
})