feat: add public tackle detail route

This commit is contained in:
ik
2026-09-21 08:02:31 +07:00
parent 86515a9da1
commit 8d7538d423
3 changed files with 47 additions and 1 deletions
+7
View File
@@ -16,3 +16,10 @@ test("tackle catalog exposes an explicit empty state for unmatched filters", asy
}));
expect(dimensions.scrollWidth).toBeLessThanOrEqual(dimensions.clientWidth);
});
test("unknown tackle detail has a navigable not-found state", async ({ page }) => {
await page.goto("/tackle/items/00000000-0000-0000-0000-000000000000");
await expect(page.getByRole("heading", { name: "Такой карточки нет в каталоге" })).toBeVisible();
await expect(page.getByRole("link", { name: "Открыть каталог" })).toHaveAttribute("href", "/tackle");
});