aboutsummaryrefslogtreecommitdiff
path: root/tests/gallery-probes/probe-fams.mjs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-12 22:15:12 -0500
committerCraig Jennings <c@cjennings.net>2026-07-12 22:15:12 -0500
commit63577703fe59f03e98a039fec8be56c2fc32826b (patch)
treeba52513b31cfcf72e5c1fc8c9a2825e74ac7d01d /tests/gallery-probes/probe-fams.mjs
parentf210e7fce4df8daf69d87f7c8c7d83d4f13673c4 (diff)
downloadarchsetup-63577703fe59f03e98a039fec8be56c2fc32826b.tar.gz
archsetup-63577703fe59f03e98a039fec8be56c2fc32826b.zip
refactor(gallery): extract meters R01, R07-R09, R13, R17 into GW builders
The VU ballistics chase stays page-side and drives mcVu.set(t); the R17 trace animation is widget-owned so it moves into the builder with its reduced-motion gate. The R17 face gradient keeps instance-local defs because its stops read screen-family vars from the widget subtree; probe-fams selectors follow the retired rcrt ids to the card handle.
Diffstat (limited to 'tests/gallery-probes/probe-fams.mjs')
-rw-r--r--tests/gallery-probes/probe-fams.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gallery-probes/probe-fams.mjs b/tests/gallery-probes/probe-fams.mjs
index 63f9dc3..35671db 100644
--- a/tests/gallery-probes/probe-fams.mjs
+++ b/tests/gallery-probes/probe-fams.mjs
@@ -48,8 +48,8 @@ const barFill = await evl(`(()=>{const b=document.querySelectorAll('#card-R19 sv
ok('R19 dynamic fills use vars', barFill.startsWith('var(--scr-'), barFill);
// R17: face gradient stop resolves to amber face after chip
-await evl(`document.querySelector('#rcrt').closest('.card').querySelector('.fc[title="amber"]').click()`);
-const face = await evl(`getComputedStyle(document.querySelector('#rcrtFace stop')).stopColor`);
+await evl(`document.querySelector('#card-R17 .fc[title="amber"]').click()`);
+const face = await evl(`getComputedStyle(document.querySelector('#card-R17 svg radialGradient stop')).stopColor`);
ok('R17 amber chip retints face', face === 'rgb(216, 203, 166)', face);
ok('no exceptions after chip clicks', events.filter(e => e.method === 'Runtime.exceptionThrown').length === 0);