feat: add tackle combination analytics
CI / backend-and-migrations (push) Waiting to run
CI / astro-build (push) Waiting to run
CI / dependency-audit (push) Waiting to run
CI / compose-e2e (push) Waiting to run

This commit is contained in:
ik
2026-09-21 08:08:23 +07:00
parent 8d7538d423
commit 87321d8384
8 changed files with 60 additions and 9 deletions
+9
View File
@@ -23,3 +23,12 @@ test("unknown tackle detail has a navigable not-found state", async ({ page }) =
await expect(page.getByRole("heading", { name: "Такой карточки нет в каталоге" })).toBeVisible();
await expect(page.getByRole("link", { name: "Открыть каталог" })).toHaveAttribute("href", "/tackle");
});
test("tackle analytics keeps an honest empty state", async ({ page }) => {
await page.goto("/tackle/analytics");
await expect(page.getByRole("heading", { name: "Сочетания снастей" })).toBeVisible();
await expect(page.getByLabel("Фильтры сочетаний снастей")).toBeVisible();
await expect(page.locator("[data-analytics-results]")).toBeVisible();
await expect(page.getByText(/не рейтинг снасти/i)).toBeVisible();
});