core-fe
cdc5522b3e
docs(canvas-audit): record PR #205 test coverage addition
...
sop-tier-check / tier-check (pull_request) Failing after 11s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
Adds a note to the audit doc footer tracking the new component tests
(PR #205 : Tooltip, Legend, TermsGate, ApprovalBanner) and bumps the
updated date.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-10 00:45:47 +00:00
core-fe
29c6be81bd
test(canvas): add component tests for Tooltip, Legend, TermsGate, ApprovalBanner
...
sop-tier-check / tier-check (pull_request) Failing after 12s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 14s
Adds vitest tests for 4 previously untested canvas components:
- Tooltip.test.tsx (17 tests): portal rendering, 400ms hover delay,
keyboard focus reveal, Esc dismiss (WCAG 1.4.13), aria-describedby
- Legend.test.tsx (10 tests): open/closed state, localStorage persistence,
palette-offset positioning, status/tier/comm items, aria labels
- TermsGate.test.tsx (14 tests): loading→accepted, pending modal (WCAG
2.4.3 focus), accept flow, error state, children always rendered
- ApprovalBanner.test.tsx (15 tests): empty state, approval card render,
polling cleanup, approve/deny decisions, toast notifications, error recovery
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-10 00:44:45 +00:00