feat(ux): add mobile catalog filter edge affordance
Deploy Canina / deploy (push) Successful in 2m15s

This commit is contained in:
devops committed 2026-10-17 07:53:46 +00:00
1 parent 87ad359e60
commit 8672d4bcac
3 files changed
+18 -1

No files matched your search

@@ -164,6 +164,14 @@ describe("ArchivePage Component", () => {
expect(screen.getByLabelText("مرتب‌سازی محصولات")).toBeTruthy();
});
it("exposes a scroll affordance for the mobile filter row", () => {
render(<ArchivePage initialProducts={mockProducts as any} />);
const filterRow = screen.getByTestId("mobile-catalog-filters");
expect(filterRow).toHaveAttribute("aria-label", "فیلترهای محصولات");
expect(screen.getByTestId("mobile-catalog-filters-edge")).toBeInTheDocument();
});
beforeEach(() => {
vi.clearAllMocks();