This commit is contained in:
parent
6e3123091a
commit
aeddaa6972
69 changed files with 3178 additions and 424 deletions
|
|
@ -60,9 +60,15 @@ test.describe("production readiness gates", () => {
|
|||
await page.goto("/learn");
|
||||
await expect(page.getByText("지금까지 12회 연습했어요")).toHaveCount(0);
|
||||
await expect(page.getByText("최근 8회")).toHaveCount(0);
|
||||
await expect(page.getByRole("heading", { name: "오늘 이어갈 회기를 먼저 봅니다." })).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "오늘의 상담 연습", exact: true, level: 1 }),
|
||||
).toBeVisible();
|
||||
await page.getByRole("tab", { name: "성장 지표", exact: true }).click();
|
||||
const statusRegion = page.getByRole("region", { name: "학습 현황" });
|
||||
await expect(statusRegion.getByRole("button", { name: /진행 회기 0회/ })).toBeVisible();
|
||||
await expect(statusRegion).toBeVisible();
|
||||
const totalSessions = statusRegion.getByRole("button", { name: /전체 회기 0회/ });
|
||||
await expect(totalSessions).toBeVisible();
|
||||
await expect(totalSessions).toContainText("진행 중 0회");
|
||||
await expect(statusRegion.getByRole("button", { name: /리뷰 대기 0건/ })).toBeVisible();
|
||||
// 중간 폭 이하에서는 기록 패널이 '기록 · 리뷰' 탭 안에 있다.
|
||||
const dashTabs = page.locator(".lh-tabs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue