diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/AdvanceSearchFilter/CustomPropertyAdvanceSeach.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/AdvanceSearchFilter/CustomPropertyAdvanceSeach.spec.ts index 438d99880db..788403a13b9 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/AdvanceSearchFilter/CustomPropertyAdvanceSeach.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/AdvanceSearchFilter/CustomPropertyAdvanceSeach.spec.ts @@ -160,9 +160,17 @@ test('CustomProperty Dashboard Filter', async ({ page }) => { `extension.dashboard.${propertyName} = '${propertyValue}'` ); + + await page.waitForSelector('[data-testid="loader"]', { + state: 'detached', + }); + + + await expect( page.getByTestId('entity-header-display-name') ).toContainText(dashboardEntity.entity.displayName); + } );