diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/permission.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/permission.ts index 888599d9881..24b1ebcc5c6 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/permission.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/permission.ts @@ -171,7 +171,10 @@ export const validateViewPermissions = async ( .getByTestId('loader') .waitFor({ state: 'detached' }); await page.waitForLoadState('domcontentloaded'); - await page.getByText('Data Quality').click(); + await page + .getByTestId('profiler-tab-left-panel') + .getByText('Data Quality') + .click(); await page.waitForLoadState('domcontentloaded'); await checkNoPermissionPlaceholder( page,