diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ObservabilityAlerts.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ObservabilityAlerts.spec.ts index c17605b8b9f7..64462e71bb61 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ObservabilityAlerts.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/ObservabilityAlerts.spec.ts @@ -105,6 +105,8 @@ test.describe('Observability Alert Flow', () => { }); test('Pipeline Alert', async ({ page }) => { + test.slow(); + const ALERT_NAME = generateAlertName(); await test.step('Create alert', async () => { diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/alert.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/alert.ts index 1618c6f74b4f..5c450db653c5 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/alert.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/alert.ts @@ -20,6 +20,9 @@ import { } from '../constant/alert.interface'; import { DELETE_TERM } from '../constant/common'; import { SidebarItem } from '../constant/sidebar'; +import { Domain } from '../support/domain/Domain'; +import { DashboardClass } from '../support/entity/DashboardClass'; +import { UserClass } from '../support/user/UserClass'; import { clickOutside, descriptionBox, @@ -643,10 +646,10 @@ export const addMultipleFilters = async ({ dashboard, }: { page: Page; - user1; - user2; - domain; - dashboard; + user1: UserClass; + user2: UserClass; + domain: Domain; + dashboard: DashboardClass; }) => { // Add owner filter await page.click('[data-testid="add-filters"]');