Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test: the coordination e2e tests switch off smart setup answers (#3744)

Milind Soniadacab69a919
diff --git a/server/notification-routing.e2e.test.ts b/server/notification-routing.e2e.test.ts
index 05ad64b208..7ef73b2cd0 100644
--- a/server/notification-routing.e2e.test.ts
+++ b/server/notification-routing.e2e.test.ts
@@ -93,6 +93,8 @@ beforeAll(async () => {
mkdirSync(data, { recursive: true });
dumpFile = join(home, "quick-dump.json");
writeFileSync(join(data, "config.json"), JSON.stringify({
+ // These tests compare whole conversations; a setup card refreshing after a rename would change under them.
+ features: { smartSetupChoices: false },
instances: {
// answers at once; its dump is the only place to read the per-boot comms token the internal endpoints need
quick: {
diff --git a/server/thread-aware-bots.e2e.test.ts b/server/thread-aware-bots.e2e.test.ts
index fba54e8a32..d70969cf98 100644
--- a/server/thread-aware-bots.e2e.test.ts
+++ b/server/thread-aware-bots.e2e.test.ts
@@ -185,6 +185,8 @@ beforeAll(async () => {
`await import(${JSON.stringify(pathToFileURL(FAKE_CLAUDE).href)});`,
].join("\n"), { mode: 0o700 });
writeFileSync(join(data, "config.json"), JSON.stringify({
+ // These tests compare whole conversations; a setup card refreshing after a rename would change under them.
+ features: { smartSetupChoices: false },
threads: { maxConcurrentPerBot: 2 },
instances: {
gated: {