mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-17 11:21:35 +03:00
a1e6d400b2
* feat: update translations * fix: update createBrain tests * test: add crawl e2e test
14 lines
452 B
TypeScript
14 lines
452 B
TypeScript
import { test } from "@playwright/test";
|
|
|
|
import { login } from "../utils/login";
|
|
|
|
export const createBrainTests = (): void => {
|
|
test("create brain", async ({ page }) => {
|
|
await login(page);
|
|
await page.getByTestId("brain-management-button").click();
|
|
await page.getByTestId("add-brain-button").click();
|
|
await page.getByTestId("brain-name").fill("Test brain");
|
|
await page.getByTestId("create-brain-submit-button").click();
|
|
});
|
|
};
|