diff options
Diffstat (limited to 'tests/gallery-probes/probe-fams.mjs')
| -rw-r--r-- | tests/gallery-probes/probe-fams.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gallery-probes/probe-fams.mjs b/tests/gallery-probes/probe-fams.mjs index 08ac709..76759b6 100644 --- a/tests/gallery-probes/probe-fams.mjs +++ b/tests/gallery-probes/probe-fams.mjs @@ -16,7 +16,8 @@ const ok = (n, c, d = '') => { console.log(`${c ? 'PASS' : 'FAIL'} ${n}${d ? ' â await send('Runtime.enable'); await sleep(1500); ok('no exceptions on load', events.filter(e => e.method === 'Runtime.exceptionThrown').length === 0); -ok('5 chip rows', await evl(`document.querySelectorAll('.famchips').length`) === 5); +// count screen-family rows only — card option groups (e.g. card 01) reuse .famchips +ok('5 screen chip rows', await evl(`[...document.querySelectorAll('.famchips .lab')].filter(l=>l.textContent==='screen').length`) === 5); // default fallback: dmx ink computes to gold-hi rgb(255,190,84) const dmxFill0 = await evl(`getComputedStyle(document.querySelector('#dmx text')).fill`); |
