diff --git a/tests/widget-system/icon-picker-contract.test.cjs b/tests/widget-system/icon-picker-contract.test.cjs index 6e220c64..7ffb8be5 100644 --- a/tests/widget-system/icon-picker-contract.test.cjs +++ b/tests/widget-system/icon-picker-contract.test.cjs @@ -59,7 +59,7 @@ test('picker JS composes the three value formats and loads the REST catalog', () // Tab/search switching toggles the [hidden] attribute; without this guard // the explicit display rules on grids/items override it and every group // stays visible, so the tab bar appears dead. - assert.match(css, /#aksrt-modal-icon \[hidden]\s*\{\s*display:\s*none\s*!important/); + assert.match(read(cssPath), /#aksrt-modal-icon \[hidden]\s*\{\s*display:\s*none\s*!important/); }); test('icon values sanitize through the SVG-aware helper on every save path', () => {