fix(ui): восстанавливать контекст OSPF из URL

This commit is contained in:
Denozordec committed 2026-09-30 19:58:43 +07:00
1 parent af05ad5cda
commit 1d522527b4
7 files changed
+130 -44

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ for (const change of ["backend", "mode"]) for (const operation of ["read", "writ
await page.getByRole("button", { name: operation === "read" ? "Обновить" : "Оптимизировать OSPF", exact: true }).click()
await expect.poll(() => started).toBe(true)
await page.goBack()
await page.goBack()
await expect(page).toHaveURL(/settings/)
if (change === "backend") {
const input = page.getByPlaceholder("http://localhost:8000")