From 60b7f1695c792025548f4017dee1eaa99f18fecf Mon Sep 17 00:00:00 2001 From: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Date: Wed, 18 Jun 2025 19:15:31 +0530 Subject: [PATCH] fix(test): child entity tests (#21836) --- .../src/main/resources/ui/playwright/utils/entity.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts index 3308fcf81c9..92119273c27 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts @@ -593,8 +593,8 @@ export const removeTagsFromChildren = async ({ .getByTestId('remove-tags') .click(); - const putTagRequest = page.waitForResponse( - (response) => response.request().method() === 'PUT' + const putTagRequest = page.waitForResponse((response) => + ['PUT', 'PATCH'].includes(response.request().method()) ); await page.waitForSelector( @@ -778,8 +778,8 @@ export const removeGlossaryTermFromChildren = async ({ .locator('svg') .click(); - const putRequest = page.waitForResponse( - (response) => response.request().method() === 'PUT' + const putRequest = page.waitForResponse((response) => + ['PUT', 'PATCH'].includes(response.request().method()) ); await page.waitForSelector(