diff --git a/docs/testing/frontend-platform-testing-strategy.md b/docs/testing/frontend-platform-testing-strategy.md index cf00ec96..e23f0999 100644 --- a/docs/testing/frontend-platform-testing-strategy.md +++ b/docs/testing/frontend-platform-testing-strategy.md @@ -920,16 +920,27 @@ device descriptor는 browser/device 특성을 흉내 내지만 실제 기기를 Playwright `toHaveScreenshot()`을 사용한다. -필수 baseline: +현재 기준선은 5장이다(`tests/visual/platform.visual.spec.ts`, 골든은 +`tests/visual/__snapshots__/`). VD-08 5항의 최초 기준선 4장에 플랫폼 개요를 +더한 범위다. + +- `app-shell-wide-light`: `/`, 1440×900, light, 전체 페이지 — wide app shell +- `app-shell-compact-pseudo-drawer`: `/`, 390×844, en-XA, 메뉴 서랍 열림 — + compact app shell, pseudo-locale, 열린 drawer +- `design-system-gallery-dark`: `/examples/ui`, dark — design-system 갤러리 +- `state-surfaces-light`: `/examples/states` — loading, background refresh, + empty, error, 401, 403, 404 +- `platform-overview-light`: `/examples/platform` — 플랫폼 구성 개요 + +`check-test-evidence`는 기준선 PNG가 4장 이상인지만 본다. 위 목록의 각 +화면이 있는지는 검사하지 않는다. + +아직 기준선이 없고, 제품이 화면을 늘릴 때 추가할 후보: -- app shell compact/wide - 각 page template -- 모든 design-system primitive group -- loading/empty/error/401/403/404 - invalid form -- open dialog/drawer/menu -- light/dark -- pseudo-locale/RTL 대표 +- 열린 dialog·menu +- RTL 대표 결정성 규칙: