Handle rejected subscriptions and add local client compose
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-07-13 20:23:37 +03:00
parent 8c19f2cba9
commit 56f5e408e3
10 changed files with 306 additions and 443 deletions

View File

@@ -69,3 +69,13 @@ test('copy feedback, drawers and Gateway tabs expose complete keyboard semantics
assert.match(styles, /@media \(max-width: 560px\)[\s\S]*\.client-copy-button \{[\s\S]*min-height: 44px/);
assert.match(styles, /@media \(max-width: 560px\)[\s\S]*\.client-local-rule-enabled,[\s\S]*\.client-local-rule-delete \{[\s\S]*width: 44px;[\s\S]*height: 44px/);
});
test('Connect route uses a labelled native Auto control instead of the logo', () => {
assert.match(component, /aria-label="Маршрут Connect"/);
assert.match(component, /type="checkbox"[\s\S]*checked={route\?\.autoEnabled !== false}/);
assert.match(component, /onChange={\(event\) => onSetGatewayAuto\(event\.target\.checked\)}/);
assert.match(component, /Использовать домашний Gateway автоматически/);
assert.doesNotMatch(component, /harbor-brand-control|:3456/);
assert.match(styles, /\.client-route-auto \{[\s\S]*min-height: 44px/);
assert.match(styles, /\.client-route-auto:has\(input:focus-visible\)/);
});