From b3d00077ccd20f812b44979d008e9dec14fd166f Mon Sep 17 00:00:00 2001 From: Shrushti Polekar Date: Fri, 24 Jan 2025 10:58:51 +0530 Subject: [PATCH] fix failing e2e test for customize page landing (#19490) --- .../ui/playwright/e2e/Flow/CustomizeLandingPage.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/CustomizeLandingPage.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/CustomizeLandingPage.spec.ts index b44f9ff3173..7d0e7cc6fca 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/CustomizeLandingPage.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/CustomizeLandingPage.spec.ts @@ -247,6 +247,9 @@ test.describe('Customize Landing Page Flow', () => { // Check if all widgets are present on landing page await redirectToHomePage(adminPage); + // Ensures the page is fully loaded + await adminPage.waitForLoadState('networkidle'); + await checkAllDefaultWidgets(adminPage); } );