Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 2764bcb7bb2c99f5d0f6beb58afb661e5a44e717
parent c2b859bb414886805eec5932321709df7ea24756
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  2 Nov 2026 01:41:20 -0500

umtool e2e: the Modules panel covers chat (settings saved, a bad value refused with the build sentence, no switch)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/modules.spec.ts | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/umtool/e2e/modules.spec.ts b/umtool/e2e/modules.spec.ts @@ -115,6 +115,23 @@ test("the panel draws every module from its descriptor, and a module is switched expect(readManifest().render.chrome.layout).toBe("deck"); }); +test("the chat module's settings are saved through the panel and refused with the build's sentence; it has no switch (a clip's chat=on opts in)", async ({ page }) => { + const panel = await openPanel(page); + await expect(panel.getByTestId("module-chat")).toBeAttached(); + const card = await openModule(page, "chat"); + await expect(card.getByTestId("module-toggle-chat")).toHaveCount(0); + await card.getByTestId("module-field-chat-position").selectOption("left"); + await card.getByTestId("module-save-chat").click(); + await expect(card.getByTestId("module-status-chat")).toHaveText("saved"); + await expect.poll(() => readManifest().render.chrome.chat.position).toBe("left"); + // A value the build would refuse is refused with its sentence, the manifest untouched. + await card.getByTestId("module-field-chat-lines").fill("99"); + await card.getByTestId("module-save-chat").click(); + await expect(card.getByTestId("module-errors-chat")).toContainText("render.chrome.chat.lines"); + expect(readManifest().render.chrome.chat.position).toBe("left"); + expect(readManifest().render.chrome.layout).toBe("deck"); +}); + test("a save the build would refuse is refused with the build's sentence, and the manifest is untouched", async ({ page }) => { const before = JSON.stringify(readManifest().render.chrome.status); await openPanel(page);