This directory contains two complementary test coverage documents:
Scope: 9 collection interactive demos (Flexbox, Grid, Typography, Animation, Color, Layout, Box Model, Backgrounds, Transitions)
Metrics:
- 27 tests (3 per collection)
- 52 interactive features tested
- Coverage: 100% of interactive demo functionality
Format: Single large table with columns: Collection | Feature | Controls/Values | Test Name | What Test Verifies | Status | Notes
Use case: Quick reference to verify every slider, button, and interactive control in the demos is tested.
Scope: All features across the entire CSS Reference application (navigation, search, collections, detail view, table, accessibility, PWA, etc.)
Metrics:
- 236 total features identified
- 158 tested in E2E
- 78 not tested
- Overall coverage: 66.9%
Format: Organized by feature category with tables:
- Navigation & Routing (13 features)
- Search & Discovery (32 features)
- Collection Pages (many subsections)
- Detail View (24 features)
- Footer / Reference Table (25 features)
- Visual Effects & Animations (12 features)
- Interactive Demos (35 features)
- Clipboard & Utilities (10 features)
- Accessibility & UX (22 features)
- Error Handling & Edge Cases (13 features)
- Service Worker & PWA (8 features)
- Miscellaneous (11 features)
Use case: Complete audit of what is and isn't tested site-wide; identify gaps for future test development.
- Interactive demo controls (all 9 collections) ✅
- Fuzzy search functionality ✅
- Dropdown filtering (category, interop, browser) ✅
- Detail view navigation ✅
- Infinite scroll in table view ✅
- Meta-theme visual effects ✅
- Table column sorting (by name, category, support)
- Theme toggle (dark/light mode switch)
- Clipboard fallback mechanism (textarea+execCommand)
- Service Worker offline functionality
- Error handling for invalid collection hashes
- List.js initialization failure scenarios
- Collection content sections rendering (learning objectives, strengths, etc.)
- Accessibility audit (ARIA labels, focus styles, screen reader)
- Responsive breakpoints (tablet, mobile)
- SEO meta tags (Open Graph, JSON-LD)
- Performance optimizations (preload, FCP)
# Install deps
bun install
# Run all e2e tests
bun x playwright test --workers=1 --reporter=list
# Run specific suite
bun x playwright test e2e/interactive-demos-full.spec.ts -g "Flexbox"See individual coverage docs for detailed per-feature breakdowns.