test(wbs-ux): implement Playwright E2E tests for Vue template navigation validation
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 12s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 18s
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) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 10s
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 11s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 8s

This commit is contained in:
2026-07-25 19:49:20 +09:00
parent 24f288655f
commit 28fc1e9800
4 changed files with 111 additions and 2 deletions
@@ -0,0 +1,18 @@
import { test, expect } from '@playwright/test';
test.describe('Vite SPA 어드민 템플릿 네비게이션 E2E 테스트', () => {
test('프로토타입 갤러리 진입 및 카드 목록 확인', async ({ page }) => {
// 1. 로컬 개발 서버 진입
await page.goto('http://localhost:5173/templates');
// 2. 갤러리 타이틀 렌더링 확인
const header = page.locator('h2');
await expect(header).toContainText('상용화 프로토타입 템플릿 갤러리');
// 3. 카드 수 검증 (9대 템플릿)
const cardLinks = page.locator('a:has-text("템플릿 화면 보기")');
await expect(cardLinks).toHaveCount(9);
console.log('✓ E2E 검증 통과: 9대 CRUD/엑셀/OLAP 프로토타입 카드가 100% 정상 활성화되었습니다.');
});
});