feat: add public tackle detail route
This commit is contained in:
1 parent
86515a9da1
commit
8d7538d423
3 files changed
+47
-1
No files matched your search
@@ -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