File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -506,14 +506,14 @@ Object.entries(entities).forEach(([key, EntityClass]) => {
506506 ) . toBeVisible ( ) ;
507507
508508 // Cleanup: remove tag via panel
509- await openColumnDetailPanel ( {
509+ const cleanupPanelContainer = await openColumnDetailPanel ( {
510510 page,
511511 rowSelector,
512512 columnId : entity . childrenSelectorId ?? '' ,
513513 columnNameTestId,
514514 entityType : entity . type as EntityType ,
515515 } ) ;
516- await panelContainer . getByTestId ( 'edit-icon-tags' ) . click ( ) ;
516+ await cleanupPanelContainer . getByTestId ( 'edit-icon-tags' ) . click ( ) ;
517517
518518 // Wait for selectable list to be visible and ready
519519 await page
@@ -540,7 +540,9 @@ Object.entries(entities).forEach(([key, EntityClass]) => {
540540 await waitForAllLoadersToDisappear ( page ) ;
541541
542542 await expect (
543- panelContainer . getByTestId ( 'tag-PersonalData.SpecialCategory' )
543+ cleanupPanelContainer
544+ . locator ( '.tags-list' )
545+ . getByTestId ( 'tag-PersonalData.SpecialCategory' )
544546 ) . toBeHidden ( ) ;
545547
546548 await closeColumnDetailPanel ( page ) ;
You can’t perform that action at this time.
0 commit comments