mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-14 13:19:05 +03:00
7dd404935b
* chore: add playright config * feat: add playright first examples * feat: add 'test-e2e command' * feat: add createBrain E2E test
14 lines
394 B
TypeScript
14 lines
394 B
TypeScript
import { test } from "@playwright/test";
|
|
|
|
import { login } from "../utils/login";
|
|
|
|
export const chatTests = (): void => {
|
|
test("chat", async ({ page }) => {
|
|
await login(page);
|
|
await page.goto("/chat");
|
|
await page.getByRole("combobox").locator("div").nth(2).click();
|
|
await page.getByRole("combobox").fill("Hello");
|
|
await page.getByTestId("submit-button").click();
|
|
});
|
|
};
|