From: Viktor Vorona Date: Thu, 30 Nov 2023 11:17:42 +0000 (+0100) Subject: SONAR-21153 Try to fix UsersApp timeout X-Git-Tag: 10.4.0.87286~384 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d29fed2459567c84c1021c33edc6a2171004c4e;p=sonarqube.git SONAR-21153 Try to fix UsersApp timeout --- 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(); });