]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21153 Try to fix UsersApp timeout
authorViktor Vorona <viktor.vorona@sonarsource.com>
Thu, 30 Nov 2023 11:17:42 +0000 (12:17 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 30 Nov 2023 20:03:36 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx

index c8302bbfbf1d05cbf388ae63f5a365ab7eef59e7..8a5c1240f2ffed8a197daec7dd41f2fd36f89431 100644 (file)
@@ -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();
   });