quivr/frontend/e2e/tests/chat/chat.ts
Mamadou DICKO 77e135fb5b
test: add chat e2e tests (#1344)
- Brain selection
- Chat deletion
- Unplug chat
- Plug chat
2023-10-09 15:23:24 +02:00

18 lines
538 B
TypeScript

import { test } from "@playwright/test";
import { testChat } from "./utils/testChat";
import { testDeleteChats } from "./utils/testDeleteChats";
import { testSelectBrain } from "./utils/testSelectBrain";
import { testUnplugChat } from "./utils/testUnplugChat";
import { login } from "../../utils/login";
export const chatTests = (): void => {
test("chat", async ({ page }) => {
await login(page);
await testChat(page);
await testUnplugChat(page);
await testSelectBrain(page);
await testDeleteChats(page);
});
};