From 4d29fed2459567c84c1021c33edc6a2171004c4e Mon Sep 17 00:00:00 2001 From: Viktor Vorona Date: Thu, 30 Nov 2023 12:17:42 +0100 Subject: [PATCH] SONAR-21153 Try to fix UsersApp timeout --- .../sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx b/server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx index c8302bbfbf1..8a5c1240f2f 100644 --- a/server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx +++ b/server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx @@ -289,7 +289,7 @@ describe('in non managed mode', () => { await user.click(await ui.showMore.find()); - await waitFor(async () => expect(await ui.userRows.findAll()).toHaveLength(12)); + expect(ui.userRows.getAll()).toHaveLength(12); expect(ui.aliceRow.get()).toBeInTheDocument(); }); -- 2.39.5