File tree Expand file tree Collapse file tree
openmetadata-ui/src/main/resources/ui/playwright/e2e/Features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {
2525} from '../../utils/dragDrop' ;
2626import { waitForAllLoadersToDisappear } from '../../utils/entity' ;
2727import { settingClick } from '../../utils/sidebar' ;
28- import { addTeamHierarchy , hardDeleteTeam } from '../../utils/team' ;
28+ import { addTeamHierarchy } from '../../utils/team' ;
2929
3030// use the admin user to login
3131test . use ( { storageState : 'playwright/.auth/admin.json' } ) ;
@@ -199,30 +199,5 @@ test.describe(
199199
200200 await expect ( movedTeam ) . toBeVisible ( ) ;
201201 } ) ;
202-
203- test ( 'Delete Teams' , async ( { page } ) => {
204- for ( const teamName of [
205- teamNameBusiness ,
206- teamNameDivision ,
207- teamNameDepartment ,
208- teamNameGroup ,
209- ] ) {
210- const getTeamResponse = page . waitForResponse (
211- `/api/v1/teams/name/${ teamName } *`
212- ) ;
213-
214- await page . getByRole ( 'link' , { name : teamName } ) . click ( ) ;
215- await getTeamResponse ;
216-
217- await waitForAllLoadersToDisappear ( page ) ;
218-
219- await hardDeleteTeam ( page , teamName ) ;
220-
221- // Validate the deleted team
222- await expect (
223- page . getByRole ( 'cell' , { name : teamName } )
224- ) . not . toBeVisible ( ) ;
225- }
226- } ) ;
227202 }
228203) ;
You can’t perform that action at this time.
0 commit comments