Skip to content

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

test(settings): the group turn setting is "Stop after no progress for" now

milind-sonid90acf4d65d9
diff --git a/src/components/SettingsModal.appearance.test.ts b/src/components/SettingsModal.appearance.test.ts
index 911cbf6875..fc28e37713 100644
--- a/src/components/SettingsModal.appearance.test.ts
+++ b/src/components/SettingsModal.appearance.test.ts
@@ -173,7 +173,7 @@ describe("Settings → Appearance", () => {
expect(html).toContain("all conversation history and running work");
expect(html).toContain("channels are unchanged");
expect(html).toContain("Turn this back on");
- expect(html).not.toContain("Maximum turn length");
+ expect(html).not.toContain("Stop after no progress for");
});
it("keeps the switch for the window's rail of places with the sidebar's rows, where this window has one", () => {
@@ -356,7 +356,7 @@ describe("Settings → Appearance", () => {
fixture.section = "general";
const html = render();
expect(html).toContain("Profile");
- expect(html).toContain("Maximum turn length");
+ expect(html).toContain("Stop after no progress for");
expect(html).toContain("Maximum running threads per bot");
expect(html).toContain("Automatic recovery");
expect(html).toContain('aria-label="App language"');
diff --git a/src/components/SettingsModal.i18n.test.ts b/src/components/SettingsModal.i18n.test.ts
index b067861947..109532ec1f 100644
--- a/src/components/SettingsModal.i18n.test.ts
+++ b/src/components/SettingsModal.i18n.test.ts
@@ -40,7 +40,7 @@ describe("Settings → General", () => {
expect(pt).toContain("Configurações");
expect(pt).toContain("Provedores de modelos");
expect(pt).toContain("Idioma do app");
- expect(pt).toContain("Duração máxima do turno");
+ expect(pt).toContain("Parar sem progresso após");
// Same module instance, no reload: a frozen label would still say "Provedores de modelos" here.
setLocale("ja");
@@ -64,7 +64,7 @@ describe("Settings → General", () => {
const en = await renderSettings();
expect(en).toContain("Settings");
expect(en).toContain("Model providers");
- expect(en).toContain("Maximum turn length");
+ expect(en).toContain("Stop after no progress for");
});
it("offers a labeled compact section picker without removing desktop navigation", async () => {