Files
moreminimore-vibe/e2e-tests/chat_mode.spec.ts
Kunthawat Greethong 11986a0196 Add project files
2025-12-05 09:26:53 +07:00

25 lines
718 B
TypeScript

import { test } from "./helpers/test_helper";
test("chat mode selector - default build mode", async ({ po }) => {
await po.setUp({ autoApprove: true });
await po.importApp("minimal");
await po.sendPrompt("[dump] hi");
await po.waitForChatCompletion();
await po.snapshotServerDump("all-messages");
await po.snapshotMessages({ replaceDumpPath: true });
});
test("chat mode selector - ask mode", async ({ po }) => {
await po.setUp({ autoApprove: true });
await po.importApp("minimal");
await po.selectChatMode("ask");
await po.sendPrompt("[dump] hi");
await po.waitForChatCompletion();
await po.snapshotServerDump("all-messages");
await po.snapshotMessages({ replaceDumpPath: true });
});