diff --git a/tests/e2e/tech-log-studio-workflow.spec.ts b/tests/e2e/tech-log-studio-workflow.spec.ts index e81fa4b..0984e3f 100644 --- a/tests/e2e/tech-log-studio-workflow.spec.ts +++ b/tests/e2e/tech-log-studio-workflow.spec.ts @@ -1,10 +1,15 @@ import { FIXTURE_IDS } from "../../src/features/tech-log/adapters/mock/fixtures.ts"; import { expect, test } from "../support/browser/strict-browser-test.ts"; +import { gotoTechLogStudio } from "../support/browser/tech-log-fixtures.ts"; +// The mock validation of a saved version is valid for 30 minutes on +// 2026-08-14, so these run on the fixture clock (`gotoTechLogStudio`), like +// every other Studio browser test; on the real clock the result reads as stale. test("validates, previews, publishes, and unpublishes one Studio working copy", async ({ page, }) => { - await page.goto( + await gotoTechLogStudio( + page, `/studio/documents/${FIXTURE_IDS.stateNonceReference}/validation`, ); await expect( @@ -49,7 +54,8 @@ test("validates, previews, publishes, and unpublishes one Studio working copy", test("renders an immutable historical snapshot and Studio-local missing event", async ({ page, }) => { - await page.goto( + await gotoTechLogStudio( + page, `/studio/publications/${FIXTURE_IDS.fetchPublishedEvent}/preview`, ); await expect( @@ -59,7 +65,8 @@ test("renders an immutable historical snapshot and Studio-local missing event", page.getByText("게시 후 본문 측정값을 보완한 저장본입니다."), ).toHaveCount(0); - await page.goto( + await gotoTechLogStudio( + page, "/studio/publications/99999999-9999-4999-8999-999999999999/preview", ); await expect(