Skip to content

Commit 4d206de

Browse files
committed
playwright: remove duplicate team deletion test from TeamsDragAndDrop (#27668)
* playwright: remove duplicate team deletion test from TeamsDragAndDrop * remove unwanted (cherry picked from commit 331be60)
1 parent 1b8ea81 commit 4d206de

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/TeamsDragAndDrop.spec.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -189,31 +189,4 @@ test.describe('Teams drag and drop should work properly', () => {
189189

190190
await expect(movedTeam).toBeVisible();
191191
});
192-
193-
test('Delete Teams', async ({ page }) => {
194-
for (const teamName of [
195-
teamNameBusiness,
196-
teamNameDivision,
197-
teamNameDepartment,
198-
teamNameGroup,
199-
]) {
200-
const getTeamResponse = page.waitForResponse(
201-
`/api/v1/teams/name/${teamName}*`
202-
);
203-
204-
await page.getByRole('link', { name: teamName }).click();
205-
await getTeamResponse;
206-
207-
await page.waitForSelector('[data-testid="loader"]', {
208-
state: 'detached',
209-
});
210-
211-
await hardDeleteTeam(page);
212-
213-
// Validate the deleted team
214-
await expect(
215-
page.getByRole('cell', { name: teamName })
216-
).not.toBeVisible();
217-
}
218-
});
219192
});

0 commit comments

Comments
 (0)