aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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);