feat: add advisor/contact flow tables and make Blog.authorId required
Deploy Canina / deploy (push) Successful in 25m44s
Deploy Canina / deploy (push) Successful in 25m44s
This commit is contained in:
1 parent
bb81f2c944
commit
d881dc491e
86 files changed
+507
-4111
No files matched your search
@@ -131,17 +131,4 @@ describe("ContactFormClient Component", () => {
|
||||
expect(screen.getByText("خطا در سرور، لطفاً بعداً تلاش کنید.")).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
it("provides standard autocomplete and inputmode attributes on contact inputs", () => {
|
||||
vi.mocked(api.get).mockResolvedValueOnce({ data: [] });
|
||||
render(<ContactFormClient />);
|
||||
|
||||
const nameInput = document.getElementById("contact-name");
|
||||
const phoneInput = document.getElementById("contact-phone");
|
||||
|
||||
expect(nameInput).toHaveAttribute("autocomplete", "name");
|
||||
expect(phoneInput).toHaveAttribute("autocomplete", "tel");
|
||||
expect(phoneInput).toHaveAttribute("inputmode", "tel");
|
||||
});
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user