refactor(wbs-ux): optimize template routes with lazy loading and enhance Playwright ESM path resolution
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 10s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 10s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 20s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 9s
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 10s
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped

This commit is contained in:
2026-07-25 20:10:36 +09:00
parent dc14c412f8
commit b736223adf
2 changed files with 22 additions and 25 deletions
+9 -2
View File
@@ -1,4 +1,9 @@
import { test, expect } from '@playwright/test';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
test.describe('Vite SPA 어드민 템플릿 네비게이션 E2E 테스트', () => {
test('프로토타입 갤러리 진입 및 카드 목록 확인', async ({ page }) => {
@@ -13,8 +18,8 @@ test.describe('Vite SPA 어드민 템플릿 네비게이션 E2E 테스트', () =
const cardLinks = page.locator('a:has-text("템플릿 화면 보기")');
await expect(cardLinks).toHaveCount(9);
// 4. Playwright E2E 스크린샷 캡쳐 (시각 증빙 데이터 생성)
const screenshotPath = 'C:/Users/kjh20/.gemini/antigravity-cli/brain/4ffb3a8c-b0d4-4610-9caa-b043a85a33af/templates_gallery_screenshot.png';
// 4. Playwright E2E 스크린샷 캡쳐 (범용 아티팩트 경로 생성)
const screenshotPath = path.resolve(__dirname, '../../../../antigravity-cli/brain/4ffb3a8c-b0d4-4610-9caa-b043a85a33af/templates_gallery_screenshot.png');
await page.screenshot({ path: screenshotPath, fullPage: true });
console.log('✓ E2E 검증 통과: 9대 CRUD/엑셀/OLAP 프로토타입 카드가 100% 정상 활성화되었습니다.');
@@ -22,3 +27,5 @@ test.describe('Vite SPA 어드민 템플릿 네비게이션 E2E 테스트', () =
});
});