aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorguillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com>2023-09-01 10:09:40 +0200
committersonartech <sonartech@sonarsource.com>2023-09-01 20:03:03 +0000
commit4ef6f1f3c7691c6b5526f5ab30e350f61d4082c4 (patch)
treec91aa59051d50ca27f3b4a6b6dceb5375baca367 /server/sonar-web/src
parent92f1931b37a2e4d784b6c02cbd85876af72e2601 (diff)
downloadsonarqube-4ef6f1f3c7691c6b5526f5ab30e350f61d4082c4.tar.gz
sonarqube-4ef6f1f3c7691c6b5526f5ab30e350f61d4082c4.zip
[NO JIRA] Fix Flaky Test - User load more in managed mode
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/apps/users/__tests__/UsersApp-it.tsx2
1 files changed, 1 insertions, 1 deletions
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 () => {