quivr/frontend/e2e/tests/createBrain.ts

14 lines
460 B
TypeScript
Raw Normal View History

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").first().click();
await page.getByTestId("add-brain-button").click();
await page.getByTestId("brain-name").fill("Test brain");
await page.getByTestId("create-brain-submit-button").click();
});
};