test(admin): read the picker css before asserting the hidden guard
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user