test(e2e): Studio 이탈 확인 시험이 지금 Studio 탐색의 「게시」를 누른다

이탈 확인(저장하지 않은 변경) 시험 셋은 작업본을 고친 뒤 「게시 기록」
링크를 누른다. Studio 머리말의 주 탐색은 지금 「작업·구조·자료·게시」로
묶여 있어 그 이름의 링크가 없다. 그래서 로그인과 관리 mock이 갖춰진
뒤에도 링크를 기다리다 30초 제한으로 떨어진다.

같은 곳(/studio/publications)으로 가는 「Studio 주 탐색」의 「게시」
링크를 누른다. visual의 같은 장면도 같이 바꾼다.

검증: tech-log-accessibility.spec.ts와 accessibility.spec.ts가
chromium·firefox·webkit에서 102건 모두 통과한다.
This commit is contained in:
DongHyeonka
2026-11-12 18:38:30 +09:00
parent 03ac641a78
commit baece798d2
2 changed files with 11 additions and 3 deletions
+4 -1
View File
@@ -112,7 +112,10 @@ test("Studio dirty-leave dialog matches the source without a mask", async ({ pag
"/studio/documents/11111111-1111-4111-8111-111111111111/edit",
);
await page.getByLabel("요약").fill("저장하지 않은 시각 검증 변경");
await page.getByRole("link", { name: "게시 기록", exact: true }).first().click();
await page
.getByRole("navigation", { name: "Studio 주 탐색" })
.getByRole("link", { name: "게시", exact: true })
.click();
await expect(
page.getByRole("dialog", { name: "저장하지 않은 변경" }),
).toBeVisible();