Skip to content

Commit

Permalink
Change check for page load for accesibility test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Feb 3, 2025
1 parent fbd4905 commit 88d469b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/content/questionnaire/ListView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ describe("Accessibility", () => {
</TestParent>
);

expect(getByText("Submission Request List")).toBeInTheDocument();
await waitFor(() => {
expect(getByText("Start a Submission Request")).toBeInTheDocument();
});

await waitFor(async () => {
const results = await axe(container);
Expand Down

0 comments on commit 88d469b

Please sign in to comment.