From c02914df867c8efb6ec2bc0c0b3753f4db5b7726 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 20 May 2026 19:11:41 +0200 Subject: [PATCH] =?UTF-8?q?feat(03-01):=20Task=201=20=E2=80=94=20probe=20H?= =?UTF-8?q?TML=20for=20A29=20rrweb=20DOM=20verification=20(SPEC=20=C2=A710?= =?UTF-8?q?=20#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Append form (text + email + password + submit) + table (thead + 2 rows) + modal trigger + hidden modal div below existing `
`
  scaffold; preserves `` block + tokens.css link untouched (A18/A21
  invariant).
- Modal trigger uses inline onclick to toggle style.display — rrweb
  records the attribute mutation, satisfying IncrementalSnapshot
  emission per RESEARCH Pitfall 1 (synthetic probe HTML emits Meta +
  FullSnapshot but NOT IncrementalSnapshot without a DOM mutation
  between page load and SAVE).
- Per RESEARCH Pitfall 4: the rrweb-alpha.4-leaky multi-line input
  element (rrweb-io/rrweb#1596) is excluded; only single-line inputs.
- Per UI-SPEC §"Test Fixture Conventions": data-test-* attributes
  only; no data-mokosh-* (production-welcome-page reserved); no
  tokens.css import on the probe sub-tree (head already imports the
  canonical tokens for A18/A21).
- npm run build exit 0; all 7 acceptance grep gates GREEN.
---
 tests/uat/extension-page-harness.html | 36 +++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/tests/uat/extension-page-harness.html b/tests/uat/extension-page-harness.html
index 84a5134..94888be 100644
--- a/tests/uat/extension-page-harness.html
+++ b/tests/uat/extension-page-harness.html
@@ -19,6 +19,42 @@
     

This page lives at chrome-extension://<id>/tests/uat/extension-page-harness.html.

Puppeteer navigates a tab here and drives assertions via window.__mokoshHarness.*.

Ready.
+ +
+ + + + +
+ + + + + + + + +
col-acol-b
row-1-arow-1-b
row-2-arow-2-b
+ +