test(visual): 편집기에서 빠진 즉시 미리보기의 visual을 지운다
「Studio immediate preview」 visual은 편집기의 「즉시 미리보기」 영역을 찍는다. d72eae2(09-16)가 편집기의 편집/미리보기 모드를 없애며 이 영역을 뺐고, 단위 시험은 그때부터 「없음」을 확인한다. visual만 남아 영역을 찾지 못하고 떨어진다. 시험과 기준 이미지를 지운다. 공개 렌더는 Public Preview 화면의 visual (current-preview 등)이 계속 본다.
This commit is contained in:
@@ -99,18 +99,6 @@ test("open Studio mobile menu matches the source without a mask", async ({ page
|
||||
});
|
||||
});
|
||||
|
||||
test("Studio immediate preview matches the source without a mask", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1440, height: 1000 });
|
||||
await gotoTechLogStudio(
|
||||
page,
|
||||
"/studio/documents/11111111-1111-4111-8111-111111111111/edit",
|
||||
);
|
||||
await expect(page.getByRole("region", { name: "즉시 미리보기" })).toBeVisible();
|
||||
await expect(page).toHaveScreenshot("tech-log-studio-immediate-preview-1440.png", {
|
||||
fullPage: true,
|
||||
});
|
||||
});
|
||||
|
||||
test("Studio dirty-leave dialog matches the source without a mask", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1440, height: 1000 });
|
||||
await gotoTechLogStudio(
|
||||
|
||||
Reference in New Issue
Block a user