fix permission test (#23469)

This commit is contained in:
Shrushti Polekar 2025-09-22 11:19:43 +05:30 committed by shrushti2000
parent 1dffb2d7c3
commit 46de9170c6

View File

@ -171,7 +171,18 @@ export const validateViewPermissions = async (
.getByTestId('loader')
.waitFor({ state: 'detached' });
await page.waitForLoadState('domcontentloaded');
await page.getByText('Data Quality').click();
await page.waitForSelector('[data-testid="profiler-tab-left-panel"]', {
state: 'visible',
});
await page
.getByTestId('profiler-tab-left-panel')
.getByText('Data Quality')
.waitFor({ state: 'visible' });
await page
.getByTestId('profiler-tab-left-panel')
.getByText('Data Quality')
.click();
await page.waitForLoadState('domcontentloaded');
await checkNoPermissionPlaceholder(
page,