fix(ui): не подставлять выдуманный cost соседа OSPF
This commit is contained in:
1 parent
3dc25628af
commit
748a3c00ad
5 files changed
+18
-8
No files matched your search
@@ -9,6 +9,7 @@ test("OSPF и BFD: переходные и неизвестные состоян
|
||||
await page.getByRole("button", { name: "Соседи", exact: true }).click()
|
||||
const rows = page.locator("tr[data-row-id]")
|
||||
await expect(rows).toHaveCount(9)
|
||||
for (const row of await rows.all()) await expect(row.locator("td").nth(5)).toHaveText("—")
|
||||
for(const state of ["Full", "2-Way", "ExStart", "Exchange", "Loading", "Attempt", "Init", "Down", "Неизвестно"]) await expect(rows.getByText(state, { exact: true })).toHaveCount(1)
|
||||
await page.getByRole("button", { name: "BFD", exact: true }).click()
|
||||
await expect(rows).toHaveCount(5)
|
||||
|
||||
Reference in new issue
Block a user