File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
openmetadata-ui/src/main/resources/ui/playwright/utils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -593,8 +593,8 @@ export const removeTagsFromChildren = async ({
593593 . getByTestId ( 'remove-tags' )
594594 . click ( ) ;
595595
596- const putTagRequest = page . waitForResponse (
597- ( response ) => response . request ( ) . method ( ) === 'PUT'
596+ const putTagRequest = page . waitForResponse ( ( response ) =>
597+ [ 'PUT' , 'PATCH' ] . includes ( response . request ( ) . method ( ) )
598598 ) ;
599599
600600 await page . waitForSelector (
@@ -778,8 +778,8 @@ export const removeGlossaryTermFromChildren = async ({
778778 . locator ( 'svg' )
779779 . click ( ) ;
780780
781- const putRequest = page . waitForResponse (
782- ( response ) => response . request ( ) . method ( ) === 'PUT'
781+ const putRequest = page . waitForResponse ( ( response ) =>
782+ [ 'PUT' , 'PATCH' ] . includes ( response . request ( ) . method ( ) )
783783 ) ;
784784
785785 await page . waitForSelector (
You can’t perform that action at this time.
0 commit comments