test: drop org cleanup from team-delete e2e test

The e2e database is isolated and uses random org names, so per-test
cleanup is unnecessary and only leaks the org on mid-test failure.

Assisted-by: claude-code:opus-4.8
This commit is contained in:
silverwind
2026-06-17 08:39:41 +02:00
parent b74c3a9f6c
commit 4c2f668e94
-1
View File
@@ -49,5 +49,4 @@ test('delete team via confirm modal', async ({page, request}) => {
await page.getByRole('button', {name: 'Yes'}).click();
await expect(page).toHaveURL(new RegExp(`/org/${orgName}/teams$`));
await expect(page.getByText('The team has been deleted.')).toBeVisible();
await apiDeleteOrg(request, orgName);
});