Bump Harbor clients and clarify disabled local rules
This commit is contained in:
@@ -74,10 +74,16 @@ test('tablet and mobile regions use normal flow with viewport-safe widths', () =
|
||||
});
|
||||
|
||||
test('secondary menus share one right rail and both drawers open from the right', () => {
|
||||
const disabledRulesLabel = rule('.client-local-rules-toggle:disabled span');
|
||||
|
||||
assert.match(component, /<nav className="client-secondary-menu" aria-label="Дополнительные меню">/);
|
||||
assert.match(component, /client-instructions-toggle[\s\S]*client-local-rules-toggle/);
|
||||
assert.match(component, /Локальные правила недоступны: сейчас работают правила Gateway/);
|
||||
assert.match(rule('.client-secondary-menu'), /right:\s*max\(14px, env\(safe-area-inset-right\)\)/);
|
||||
assert.match(rule('.client-secondary-menu'), /display:\s*grid/);
|
||||
assert.match(disabledRulesLabel, /opacity:\s*0/);
|
||||
assert.match(disabledRulesLabel, /filter:\s*blur\(5px\)/);
|
||||
assert.match(styles, /\.client-local-rules-toggle:disabled:hover span\s*\{[\s\S]*opacity:\s*1/);
|
||||
assert.match(rule('.client-instructions'), /inset:\s*0 0 0 auto/);
|
||||
assert.match(rule('.client-instructions'), /transform:\s*translateX\(104%\)/);
|
||||
assert.match(rule('.client-local-rules'), /inset:\s*0 0 0 auto/);
|
||||
|
||||
Reference in New Issue
Block a user