]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20696 Fix yarn_validate issue on UsersApp-it.tsx
authorguillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com>
Mon, 9 Oct 2023 15:17:10 +0000 (17:17 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 10 Oct 2023 20:03:01 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx

index 33c49335d6bfb2fe10ce760599a0295ab3fd9217..e2659be46bfe646df8157062e2e41abb74018b2c 100644 (file)
@@ -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 () => {