← back to CelebritySignatures

5x/sweep-1.md

21 lines

# 5x sweep 1
Target: http://localhost:<port>/wear (+ /, /murals, /game)
Result: 6/7 passed, 1 FAILED (M3 automation E2E)

## Caught
- M3: page.waitForSelector('#inkChips') timed out — element resolved to HIDDEN.

## Root cause (diagnosed, NOT a product defect)
`#inkChips` lives inside the product modal (`#scrim`), which is CLOSED on page load.
On load it is correctly an empty, hidden div. CDP diagnosis of the real flow:
  before card click: {modalOpen:false, inkChildren:0}
  after clicking .card: {modalOpen:TRUE, inkChildren:9, inkVisible:TRUE, inkSwatches:9}
→ The ink control populates 9 chips (Auto + 7 presets + Custom) and is visible + functional.
The M3 assertion targeted a modal-internal element as if it were on the initial page.

## Fix (assertion correction, not code — no code change, no suppression)
- Assert an on-load-visible element (#grid) in the 3x runner.
- Keep a supplementary CDP gate each sweep that OPENS the modal and asserts
  inkChips populates (>=9 chips, visible) — the honest E2E of the modal-gated control.
No code was weakened; the product is verified correct via the modal-open flow.