test(ui): assert the users loading skeleton by role

This commit is contained in:
Juan Denis committed 2026-11-10 12:46:43 -05:00
1 parent 8702213609
commit 962971d2a8
1 file changed
+1 -1
+1 -1
View File
@@ -79,7 +79,7 @@ try {
await route.fulfill({ json: payload });
});
await page.goto(`${base}tests/browser/settings.html`);
await page.getByText('Loading users…', { exact: true }).waitFor();
await page.getByRole('status', { name: 'Loading users…' }).waitFor();
resolveUsers();
await page.locator('.users-table').first().getByText('needs-mfa', { exact: true }).waitFor();
await page.getByText('invite@example.test', { exact: true }).waitFor();