mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-22 21:53:17 +01:00
cleanup
This commit is contained in:
parent
530b86e244
commit
aaad640397
@ -8,7 +8,5 @@ test('create an organization', async ({page}) => {
|
||||
await page.getByLabel('Organization Name').fill(orgName);
|
||||
await page.getByRole('button', {name: 'Create Organization'}).click();
|
||||
await expect(page).toHaveURL(new RegExp(`/org/${orgName}`));
|
||||
|
||||
// cleanup
|
||||
await deleteOrg(page, orgName);
|
||||
});
|
||||
|
||||
@ -8,8 +8,6 @@ test('update profile biography', async ({page}) => {
|
||||
await page.getByLabel('Biography').fill(bio);
|
||||
await page.getByRole('button', {name: 'Update Profile'}).click();
|
||||
await expect(page.getByLabel('Biography')).toHaveValue(bio);
|
||||
|
||||
// cleanup: clear the biography
|
||||
await page.getByLabel('Biography').fill('');
|
||||
await page.getByRole('button', {name: 'Update Profile'}).click();
|
||||
await expect(page.getByLabel('Biography')).toHaveValue('');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user