# V13-FE-005 — component/template contract test hardening ## Scope - **WBS:** V13-FE-005 - **Requirement/API/UI/Test:** REQ-FE-UI-PORT / Cross / UI-COMPONENTS / T-FE-COMPONENT-CONTRACT - **Source:** existing `KsButton`, `KsTextField`, `FieldShell`, native adapter contracts, and shared screen-template tests. - **Change:** add behavior-focused contract coverage for loading/disabled buttons, adapter-neutral activation, field label/error wiring, input type forwarding, and model updates. - **Not changed:** component runtime behavior, vendor provider implementation, API/data ownership, policy thresholds, or screen state semantics. ## Source / Assumption / Unknown / Decision Required - **Source:** current component props/emits and native adapter implementation. - **Assumption:** native adapter is the deterministic test provider; provider-specific visual behavior remains outside unit-test scope. - **Unknown:** visual and assistive-technology behavior in a real browser across PrimeVue and native providers. - **Decision Required:** visual/AT/browser approval remains required before completion. ## Evidence - Targeted contract test: 1 file / 3 tests passed. - Full frontend regression: 59 files / 156 tests passed. - `pnpm typecheck`: passed. - `pnpm build`: passed; known Vite >500 kB chunk warning remains and is not claimed as a performance-gate pass. - Evidence: `evidence/V13-FE-005/component-template-tests_20260813.log`.