From 98ff7a350afdb280580bc692f15d760e18be7fb9 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 29 Jun 2026 17:56:07 +0000 Subject: [PATCH] =?UTF-8?q?host/tests:=20Phase=202=20=E2=80=94=20trim=20Pl?= =?UTF-8?q?aywright=20to=20a=20boot=20smoke?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The picker's per-behaviour browser tests are now SX engine tests (web/tests/test-relate-picker.sx) + SX conformance (lib/host/tests/blog.sx), so delete them from Playwright and keep only what needs a real boosted-SPA browser: spa-check.spec.js (3): WASM kernel boots + loads modules CONTENT-ADDRESSED (/sx/h/{hash} fetches, zero path-.sxbc fallback — new assertion) + marks ready; a boosted nav fragment-swaps #content (raw! HTML path); back/re-boost. relate-picker.spec.js (2): the bind-boost-form remove button; the picker re-binds its load trigger on content brought in by a boosted SPA nav. Net: 11 browser tests -> 5. Both ephemeral-host suites verified green (run-spa-check.sh 3/3, run-picker-check.sh 2/2). Co-Authored-By: Claude Opus 4.8 --- lib/host/playwright/relate-picker.spec.js | 87 ++++------------------- lib/host/playwright/spa-check.spec.js | 24 ++++--- 2 files changed, 26 insertions(+), 85 deletions(-) diff --git a/lib/host/playwright/relate-picker.spec.js b/lib/host/playwright/relate-picker.spec.js index d00ce1b1..eefe7baa 100644 --- a/lib/host/playwright/relate-picker.spec.js +++ b/lib/host/playwright/relate-picker.spec.js @@ -1,24 +1,27 @@ // Browser check for the relate picker (lib/host/blog.sx). Runs against an // ephemeral host server seeded with a host post + 25 candidates by // run-picker-check.sh, which copies this spec into the Playwright env and sets -// SX_TEST_URL. The picker is a DECLARATIVE SX-htmx form (no client JS): the form -// GETs //relate-options on "load" and on a debounced "input", swapping the -// results
    ; a full page carries a "load more" sentinel that pages on reveal. -// Exercises the login redirect, the initial populate, debounced filter, infinite -// scroll, click-to-relate, AND populate after a boosted SPA nav (the case the old -// inline