mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 10:20:58 +00:00
15 lines
569 B
TypeScript
15 lines
569 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
import { ADMIN_STORAGE_PATH } from "../../constants";
|
|
|
|
test.describe("Add Model", () => {
|
|
test.use({ storageState: ADMIN_STORAGE_PATH });
|
|
|
|
test("admin settings test", async ({ page }) => {
|
|
await page.goto("/ui");
|
|
await page.getByRole("menuitem", { name: /Settings/ }).click();
|
|
await page.getByRole("menuitem", { name: /Admin Settings/ }).click();
|
|
await page.getByRole("tab", { name: "UI Settings" }).click();
|
|
await expect(page.getByText("Configuration for UI-specific")).toBeVisible();
|
|
});
|
|
});
|