feat: add public tackle detail route
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user