Update VPN client and gateway behavior
This commit is contained in:
@@ -131,7 +131,7 @@ test('secondary menus share one right rail and both drawers open from the right'
|
||||
|
||||
assert.match(component, /<nav className="client-secondary-menu" aria-label="Дополнительные меню">/);
|
||||
assert.match(component, /<SubscriptionToggle[\s\S]*<InstructionsToggle[\s\S]*<DevicesToggle/);
|
||||
assert.match(subscription, /aria-controls="client-subscription-drawer"/);
|
||||
assert.match(subscription, /controls="client-subscription-drawer"/);
|
||||
assert.match(component, /<InstructionsToggle[\s\S]*<RoutingToggle/);
|
||||
assert.match(component, /<InstructionsToggle[\s\S]*<DevicesToggle[\s\S]*<DiagnosticsToggle[\s\S]*<RoutingToggle/);
|
||||
assert.match(diagnosticsFeature, /client-diagnostics-toggle/);
|
||||
@@ -166,9 +166,9 @@ test('secondary menus share one right rail and both drawers open from the right'
|
||||
);
|
||||
assert.match(rule('.client-instructions'), /width:\s*min\(470px, 100vw\)/);
|
||||
assert.match(rule('.client-local-rules'), /width:\s*min\(480px, 100vw\)/);
|
||||
assert.match(instructions, /className={`client-drawer client-instructions/);
|
||||
assert.match(routing, /className={`client-drawer client-local-rules/);
|
||||
assert.match(subscription, /client-drawer client-subscription-drawer/);
|
||||
assert.match(instructions, /<Drawer[\s\S]*className="client-instructions"/);
|
||||
assert.match(routing, /<Drawer[\s\S]*className="client-local-rules"/);
|
||||
assert.match(subscription, /<Drawer[\s\S]*className="client-subscription-drawer"/);
|
||||
assert.match(component, /subscriptionFeature\.close\(\)[\s\S]*devicesFeature\.close\(\)[\s\S]*diagnosticsFeature\.close\(\)[\s\S]*instructionsFeature\.toggle\(\)/);
|
||||
});
|
||||
|
||||
@@ -179,7 +179,7 @@ test('connectivity diagnostics render stable compact tables before the first run
|
||||
assert.match(diagnostics, /className="client-diagnostics-service-table" role="table"/);
|
||||
assert.match(diagnostics, /\+ Добавить сервис/);
|
||||
assert.match(diagnostics, /HIDDEN_SERVICES_KEY/);
|
||||
assert.match(diagnostics, /className="client-local-rule-delete"[\s\S]*Удалить сервис \$\{site\.label\}/);
|
||||
assert.match(diagnostics, /className="client-row-delete"[\s\S]*Удалить сервис \$\{site\.label\}/);
|
||||
assert.match(diagnostics, /client-deletable-row[\s\S]*className="client-delete-strike"[\s\S]*onAnimationEnd/);
|
||||
assert.match(diagnostics, /document\.startViewTransition\(update\)/);
|
||||
assert.match(diagnostics, /client-diagnostics-refresh/);
|
||||
@@ -221,9 +221,9 @@ test('responsive motion has a reduced-motion fallback', () => {
|
||||
assert.match(reducedMotion, /\.client-power-section/);
|
||||
assert.match(reducedMotion, /\.client-form/);
|
||||
assert.match(reducedMotion, /\.harbor-brand/);
|
||||
assert.match(reducedMotion, /\.client-instructions-toggle circle/);
|
||||
assert.match(reducedMotion, /\.client-instructions-toggle rect/);
|
||||
assert.match(reducedMotion, /\.client-local-rules-toggle circle/);
|
||||
assert.match(reducedMotion, /\.client-rail-action circle/);
|
||||
assert.match(reducedMotion, /\.client-rail-action rect/);
|
||||
assert.match(reducedMotion, /\.client-drawer/);
|
||||
assert.match(reducedMotion, /transition:\s*none/);
|
||||
assert.match(reducedMotion, /animation:\s*none/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user