This commit is contained in:
Shrushti Polekar 2025-09-30 23:26:21 +05:30 committed by GitHub
parent 79955f6d54
commit 1fb18ef815
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,13 +99,13 @@ test.describe.serial('Add role and assign it to the user', () => {
await page.click(`[title="${roleName}"]`);
await clickOutside(page);
const userResponse = page.waitForResponse(`/api/v1/users`);
await page.waitForSelector('[data-testid="save-user"]', {
state: 'visible',
});
await page.click('[data-testid="save-user"]');
const userResponse = page.waitForResponse('/api/v1/users');
await page.click('[data-testid="save-user"]');
await userResponse;
});