From 9f19b42668d02e269b0985c336cb6820546d8417 Mon Sep 17 00:00:00 2001 From: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Date: Sat, 11 Jan 2025 11:15:16 +0530 Subject: [PATCH] test(e2e): fix flaky searchIndexApplication.spec.ts (#19318) --- .../ui/playwright/e2e/Pages/SearchIndexApplication.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/SearchIndexApplication.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/SearchIndexApplication.spec.ts index b4a0e491b5a0..62502e889f22 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/SearchIndexApplication.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/SearchIndexApplication.spec.ts @@ -113,6 +113,12 @@ test('Search Index Application', async ({ page }) => { await page.getByTestId('tree-select-widget').click(); + // Bring table option to view in dropdown via searching for it + await page + .getByTestId('tree-select-widget') + .getByRole('combobox') + .fill('Table'); + // uncheck the entity await page.getByRole('tree').getByTitle('Table').click();