From e2fa46dadf0ded8333f3da18b543d78583c7d7a0 Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Wed, 23 Aug 2023 14:48:07 -0700 Subject: [PATCH] minor fix --- conformance-search/src/pages/pages.spec.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/conformance-search/src/pages/pages.spec.tsx b/conformance-search/src/pages/pages.spec.tsx index 3520494b..ca4e034a 100644 --- a/conformance-search/src/pages/pages.spec.tsx +++ b/conformance-search/src/pages/pages.spec.tsx @@ -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