Add delete strike animation for local rules
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 28s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-07-11 23:54:21 +03:00
parent 483fce55f3
commit fbbd6e40b4
4 changed files with 36 additions and 6 deletions

View File

@@ -19,6 +19,9 @@ test('rule editor add latency stays constant and dirty exits are guarded', () =>
assert.match(component, /Не сохранено/);
assert.match(component, /Ждёт перезапуска/);
assert.match(component, /Перезапустить VPN/);
assert.match(component, /client-deletable-row/);
assert.match(styles, /\.client-deletable-row\.is-removing::after[\s\S]*client-delete-strike/);
assert.match(styles, /@keyframes client-delete-strike[\s\S]*scaleX\(0\)[\s\S]*scaleX\(1\)/);
assert.match(styles, /\.client-local-rule:has\(\.client-rule-type\.is-open\)[\s\S]*z-index: 5/);
});