fix(ui): исключить конфликты восстановления Firewall

This commit is contained in:
Denozordec committed 2026-09-30 10:24:35 +07:00
1 parent 14f8b1ee9a
commit 92ba474ca9
6 files changed
+100 -7

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ for (const direction of ["down", "up"] as const) {
await expect.poll(() => attempts).toBe(1)
const waiting = page.getByRole("status").filter({ hasText: "Ожидание перемещения правила" })
await expect(waiting).toBeVisible()
await expect(page.getByRole("button", { name: "История", exact: true })).toBeDisabled()
await expect(page.getByRole("button", { name: "Обновить", exact: true })).toBeDisabled()
await expect(page.getByRole("button", { name: "Перетащите для изменения порядка строк", exact: true })).toHaveCount(0)
for (const toggle of await rows.getByRole("switch").all()) await expect(toggle).toBeDisabled()
await rows.first().getByRole("button", { name: "Действия: forward accept", exact: true }).click()