Skip to content

Commit

Permalink
check da link dunt clicky the link
Browse files Browse the repository at this point in the history
  • Loading branch information
Riceyo committed Nov 6, 2023
1 parent a76a722 commit 8a72e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/step_definitions/CATI_Dashboard_Link.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defineFeature(feature, test => {

then("I arrive at the Case Info tab URL", async () => {
await waitFor(() => {
expect(window.location.pathname).toContain("/Blaise/CaseInfo");
expect(screen.getByText(/Link to CATI dashboard/i).getAttribute("href")).toContain("/Blaise/CaseInfo");
});
});
});
Expand Down

0 comments on commit 8a72e58

Please sign in to comment.