test(admin): read the picker css before asserting the hidden guard

This commit is contained in:
2026-09-06 16:38:42 +08:00
parent abf3a4ae31
commit 3f02048bc5
@@ -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', () => {