Makes Reveal, deferred images and the first row work from the HTML
Reveal content is visible in the HTML and only content below the viewport hides after hydration. Deferred photos get a noscript twin, and the first row of the portfolio loads eagerly per column count. Some old tests still expect the former behaviour; they are rewritten next, so this commit's test run is not fully green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
# Baseline checks: display fallbacks (unit 2), Step 1
|
||||
|
||||
- Commit: `4139c8f732f3861be48469b6b0bfe700c44389be`
|
||||
- Branch: `feature/prerendering` (checked, matches)
|
||||
- Date: 2026-10-31 (test run started 22:44, e2e started 22:45)
|
||||
- Node: v24.16.0; pnpm: 12.11.2
|
||||
- `git status --short` before the run: empty output (clean tree)
|
||||
|
||||
## Results
|
||||
|
||||
| Command | Result |
|
||||
|---|---|
|
||||
| `pnpm lint` | ESLint: No issues found (exit 0) |
|
||||
| `pnpm format:check` | All matched files use Prettier code style (exit 0) |
|
||||
| `pnpm test` | 123 test files passed (123), 1179 tests passed (1179); coverage: statements 96.04 %, branches 94.14 %, functions 97.38 %, lines 96.53 % (exit 0) |
|
||||
| `pnpm build && pnpm e2e` | Build: 12 pages prerendered, 16 inline scripts moved, 28 files written (exit 0). e2e: 4 test files passed (4), 77 tests passed (77) |
|
||||
|
||||
fast-check seed of the baseline `pnpm test` run: `915664407`
|
||||
(`FC_SEED=915664407 pnpm test` replays it).
|
||||
|
||||
Logs (outside the repository): `%TEMP%\prerendering-b0-test.log`, `%TEMP%\prerendering-b0-build.log`, `%TEMP%\prerendering-b0-build2.log`, `%TEMP%\prerendering-b0-e2e.log`.
|
||||
|
||||
e2e files: `e2e/hydration.e2e.ts`, `e2e/interaction.e2e.ts`, `e2e/rawHtml.e2e.ts`, `e2e/smoke.e2e.ts`.
|
||||
Reference in New Issue
Block a user