forked from baron/baron-sso
ory용 MCP 제작, devfront/adminfront 백엔드 연결
This commit is contained in:
19
devfront/tests/clients.spec.ts
Normal file
19
devfront/tests/clients.spec.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
test("clients page loads correctly", async ({ page }) => {
|
||||
await page.goto("/clients");
|
||||
|
||||
// 타이틀 확인
|
||||
await expect(page).toHaveTitle(/바론 개발자 서비스/);
|
||||
|
||||
// 페이지 내 주요 텍스트 확인
|
||||
await expect(page.getByText("클라이언트 목록")).toBeVisible();
|
||||
|
||||
// 테이블 헤더 확인
|
||||
await expect(
|
||||
page.getByRole("columnheader", { name: "애플리케이션" }),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("columnheader", { name: "Client ID" }),
|
||||
).toBeVisible();
|
||||
});
|
||||
8
devfront/tests/example.spec.ts
Normal file
8
devfront/tests/example.spec.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
test("has title", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
|
||||
// Expect a title "to contain" a substring.
|
||||
await expect(page).toHaveTitle(/바론 개발자 서비스/);
|
||||
});
|
||||
Reference in New Issue
Block a user