mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-14 21:21:56 +03:00
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();
|
||
|
});
|
||
|
};
|