fix loader issue for permission test (#22777)

(cherry picked from commit 0bc8911dc60c3dbfe2aa0a4d1efd1c377cbe2908)
This commit is contained in:
Shrushti Polekar 2025-08-06 18:52:30 +05:30 committed by OpenMetadata Release Bot
parent 03924ef4e7
commit 34b487c26e

View File

@ -166,7 +166,10 @@ export const validateViewPermissions = async (
await page.waitForLoadState('domcontentloaded');
await checkNoPermissionPlaceholder(page, /Queries/, permission?.viewQueries);
await page.click('[data-testid="profiler"]');
await page.getByTestId('loader').waitFor({ state: 'detached' });
await page
.getByTestId('table-profiler-container')
.getByTestId('loader')
.waitFor({ state: 'detached' });
await page.waitForLoadState('domcontentloaded');
await page.getByText('Data Quality').click();
await page.waitForLoadState('domcontentloaded');