Polish subscription profile controls and status styling
Build and Deploy Gateway / build-and-push (push) Successful in 19s
Build and Deploy Gateway / deploy (push) Successful in 7s

This commit is contained in:
2026-08-11 10:04:13 +03:00
parent 021cdb28d0
commit 17849ffd73
4 changed files with 29 additions and 14 deletions
@@ -57,6 +57,7 @@ test('local validation, scoped refresh and drawer focus remain feature-owned', (
assert.match(feature, /className="client-profile-delete"[\s\S]*client-profile-delete-lid/);
assert.match(feature, /placeholder="https:\/\/…"[\s\S]*aria-label="Ссылка подписки"/);
assert.doesNotMatch(feature, /<span>Ссылка подписки<\/span>/);
assert.match(styles, /\.client-profile-form-status\s*\{[\s\S]*color:\s*oklch\(0\.68 0\.15 28\)[\s\S]*font:\s*var\(--type-control\)/);
assert.doesNotMatch(feature, /cancelRename|client-profile-menu|onRename/);
});
@@ -120,5 +121,7 @@ test('profiles render as flat accordion groups with scoped controls', () => {
assert.match(styles, /\.client-profile-body \{[\s\S]*grid-template-rows: 0fr[\s\S]*\.client-profile-body\.is-open \{[\s\S]*grid-template-rows: 1fr/);
assert.match(styles, /@media \(prefers-reduced-motion: reduce\)[\s\S]*\.client-profile-body \*/);
assert.match(styles, /\.client-profile-refresh\.is-refreshing/);
assert.match(styles, /\.client-profile-refresh,[\s\S]*\.client-profile-delete\s*\{[\s\S]*width:\s*36px;[\s\S]*height:\s*36px;[\s\S]*display:\s*grid;[\s\S]*place-items:\s*center/);
assert.match(styles, /\.client-profile-activate\s*\{[\s\S]*font:\s*var\(--type-micro\)/);
assert.doesNotMatch(feature, /client-subscription-card|role="tab"/);
});