From: guillaume-peoch-sonarsource Date: Mon, 9 Oct 2023 15:17:10 +0000 (+0200) Subject: SONAR-20696 Fix yarn_validate issue on UsersApp-it.tsx X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c53ee294d5938dfd22ce9b0eb033abd264a19129;p=sonarqube.git SONAR-20696 Fix yarn_validate issue on UsersApp-it.tsx --- 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 33c49335d6b..e2659be46bf 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 @@ -277,7 +277,7 @@ describe('in non managed mode', () => { await user.click(await ui.showMore.find()); }); - expect(ui.userRows.getAll()).toHaveLength(8); + expect(await ui.userRows.findAll()).toHaveLength(8); }); it('should be able to edit the groups of a user', async () => {