mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-25 12:20:02 +02:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user