aboutsummaryrefslogtreecommitdiff
path: root/tests/gallery-probes/probe-fams.mjs
diff options
context:
space:
mode:
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 7aa2c4b..993d22d 100644
--- a/tests/gallery-probes/probe-fams.mjs
+++ b/tests/gallery-probes/probe-fams.mjs
@@ -42,7 +42,7 @@ try {
const line1 = await evl(`getComputedStyle(document.querySelectorAll('#card-R31 svg line')[0]).stroke`);
ok('R31 green chip recolors furniture', line0 !== line1 && line1 === 'rgb(88, 184, 126)', `${line0} -> ${line1}`);
- // scope (CSS widget): trace stroke changes on amber chip
+ // scope (CSS instrument): trace stroke changes on amber chip
const tr0 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`);
await evl(`document.querySelector('.scope').closest('.card').querySelector('.fc[title="amber"]').click()`);
const tr1 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`);
@@ -50,7 +50,7 @@ try {
// R19: drag still works after family switch (click vfd, then check the handle's set() writes var-based fills)
await evl(`document.querySelector('#card-R19 .fc[title="vfd"]').click()`);
- await evl(`document.getElementById('card-R19').gw.set(30,70)`);
+ await evl(`document.getElementById('card-R19').dupre.set(30,70)`);
const barFill = await evl(`(()=>{const b=document.querySelectorAll('#card-R19 svg rect')[10];return b.getAttribute('fill');})()`);
ok('R19 dynamic fills use vars', barFill.startsWith('var(--scr-'), barFill);