I worked on fixing the flakiness in ObservabilityAlerts.spec.ts (#22336)

This commit is contained in:
Aniket Katkar 2025-07-15 10:12:59 +05:30 committed by GitHub
parent 08f3873475
commit d499a8821e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,7 @@ export const visitObservabilityAlertPage = async (page: Page) => {
'/api/v1/events/subscriptions?*alertType=Observability*'
);
await sidebarClick(page, SidebarItem.OBSERVABILITY_ALERT);
await page.waitForURL('**/observability/alerts');
await getAlerts;
};