Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DenizUgur committed Aug 23, 2023
1 parent f3afe76 commit e2fa46d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion conformance-search/src/pages/pages.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,15 @@ describe("Search", () => {
}

// Wait for the results to appear
const lists = await screen.findAllByTestId(/list-view/i);
const lists = await screen.findAllByTestId(
"list-view",
{
exact: true
},
{
timeout: 2000
}
);
expect(lists.length).toBe(2);

// Left list
Expand Down

0 comments on commit e2fa46d

Please sign in to comment.