Files
AndreaSlopFotografie/aidlc-docs/features/testimonials-redesign/construction/build-and-test/build-and-test-summary.md
T
SluijsensandClaude Sonnet 5.5 7a5e713b69
Continuous Integration / check (pull_request) Successful in 1m45s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m44s
Continuous Integration / deploy-production (pull_request) Skipped
Adds the AI-DLC documents of the testimonials redesign
Requirements, execution plan, functional design, code summaries, build and test results and the audit log; the reverse-engineering notes and the feature registry are updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 01:24:15 +01:00

49 lines
3.6 KiB
Markdown

# Build and Test Summary
Run on 2026-11-06 in the worktree `AndreaSlopFotografie-testimonials-redesign` (branch `feature/testimonials-redesign` from master `c8ca5eb`), on the owner's PC.
## Build Status
- **Build tool**: pnpm 12.11, `tsc`, Vite with prerender
- **Build status**: Success (24 s)
- **Build artifacts**: `web/dist/client`; 12 pages prerendered; 16 inline scripts moved into 28 files
## Test Execution Summary
### Unit tests
- **Total**: 1414 in 134 files, 0 failed
- **Coverage**: thresholds met, including 100% for `src/lib`
- **Status**: Pass
### Integration (browser checks on the built site)
- **Heading style on six pages at 390, 768 and 1440 px**: capitals everywhere; no page scrolls sideways (`scrollWidth` equals the width on every page, on the branch and on master); the longest title takes 4 lines at 390 px and 3 lines from 768 px, as estimated (A2)
- **Testimonials geometry** (1440 / 1024 / 768 / 390 px): photo 638 x 426 and card 627 x 400 at 1440 px (overlap as in the canvas); the control bar sits under the card inside the slide; below 1024 px the layout is stacked with the photo at most 640 px wide; card colour `rgb(232, 224, 213)`; crop `50% 42%`; the second slide starts at the group's right edge, no glimpse
- **Behaviour**: next, previous, the loop, ArrowRight in the bar, dragging with the mouse and swiping on a touch device all change the review; after the scroll settles the counter and the announcement follow ("1 / 2" to "2 / 2", "Review 2 van 2"); the second photo is already loaded when it slides in; nothing changes by itself over 7 seconds
- **Status**: Pass
### Performance (Lighthouse)
- **Desktop** (`lighthouserc.desktop.cjs`): all 12 URLs pass
- **Mobile** (`pnpm lighthouse`): all assertions pass except one, **`/` performance 0.83 against a floor of 0.85** (blocking locally only; CI warns)
- **Root cause check**: five runs of `/` on the branch and five on a build of master, same machine, one after the other: branch 0.84 0.85 0.84 0.84 0.84, master 0.84 0.84 0.84 0.85 0.85 (median 0.84 for both); LCP about 4.36 s on both, TBT 60 to 80 ms on both; the LCP element is the hero (`span`), not the testimonials. So the change does not lower the score; the homepage is recorded at exactly 0.85 (`mobileExceptions`, owner decision 2026-11-01, `numberOfRuns: 1`) and fails by chance on this machine today, on master as well
- **Status**: No regression; the single-run local floor of `/` is borderline (known follow-up: responsive photos)
### Additional tests
- **E2E suite** (`pnpm e2e`): 12 files, 268 passed, 205 skipped; the same numbers on master
- **Security**: `pnpm audit:deps` clean (no known vulnerabilities in production packages); `pnpm audit:dev` reports 23 advisories in development tools (2 low, 10 moderate, 11 high), which do not block (NFR-SEC-05) and are unrelated to this change
- **Contract tests**: N/A (no API)
## Extension compliance (Build and Test)
| Extension | Rule | Status | Note |
|---|---|---|---|
| Security Baseline | SECURITY-04, 10, 15 | Compliant | See security-test-instructions.md; other rules N/A |
| Property-Based Testing | PBT-08 | Compliant | Seed printed on every run, shrinking on, part of `pnpm test` in CI |
| Property-Based Testing | PBT-02..07, 09, 10 | Compliant | Unchanged since Code Generation; PBT-06 N/A |
## Overall Status
- **Build**: Success
- **All tests**: Pass, with one local Lighthouse floor (`/` mobile performance) that is borderline and equal on master
- **Ready for Operations**: Not applicable (Operations phase declined at Requirements Analysis)
## Next Steps
Commit, push, open the pull request and handle it (authorised by the owner for this task), then update and clean up the branches.