Update tests with new configuration
This commit is contained in:
@@ -87,7 +87,6 @@ describe("User Journey Integration", () => {
|
||||
});
|
||||
|
||||
test("user navigates through the application using header navigation", async () => {
|
||||
const user = userEvent.setup();
|
||||
render(
|
||||
<div>
|
||||
<Header />
|
||||
@@ -107,8 +106,8 @@ describe("User Journey Integration", () => {
|
||||
|
||||
// Test that navigation links are present and clickable
|
||||
for (const link of headerNavLinks) {
|
||||
await user.click(link);
|
||||
expect(link).toBeInTheDocument();
|
||||
expect(link).toHaveAttribute("href");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user