test(ai-character): 캐릭터 E2E 기대값 정비

This commit is contained in:
Yu Sung
2026-08-05 01:33:36 +09:00
parent ca5aa990d3
commit 9e2c910f0a
2 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ test("mobile supports list, search, and detail while hiding detail mutation acti
await loginThroughMockMode(page);
// When
await expectActionAbsentAcrossInteractiveRoles(page, "AI 캐릭터 생성");
await expect(page.getByRole("link", { name: "AI 캐릭터 생성" })).toBeVisible();
await page.getByLabel("검색어").fill("루나");
await expect(page.getByRole("link", { name: "루나 선택" })).toBeVisible();
await page.getByRole("link", { name: "루나 선택" }).click();
@@ -204,8 +204,8 @@ test("keyboard-only path reaches the edit form and dirty-leave dialog", async ({
// When
await searchInput.focus();
await page.keyboard.type("루나");
await expect(page.getByRole("link", { name: "루나 선택" })).toBeVisible();
await pressTabUntilFocused(page, page.getByRole("link", { name: "루나 선택" }));
await expect(page.getByRole("link", { name: "루나", exact: true })).toBeVisible();
await pressTabUntilFocused(page, page.getByRole("link", { name: "루나", exact: true }));
await page.keyboard.press("Enter");
await expect(page.getByRole("heading", { name: "루나", exact: true })).toBeVisible();
await pressTabUntilFocused(page, page.getByRole("link", { name: "프로필" }));

View File

@@ -36,7 +36,7 @@ test("active mock resources complete the cross-domain journey without uncontract
await loginThroughMockMode(page);
// When / Then
await page.getByRole("link", { name: "루나 선택" }).click();
await page.getByRole("link", { name: "루나", exact: true }).click();
await expect(page.getByRole("heading", { name: "루나", exact: true })).toBeVisible();
await page.goto("/ai-characters/101/audio-contents");