adds tests
This commit is contained in:
9
web/tests/playwright/auth.teardown.ts
Normal file
9
web/tests/playwright/auth.teardown.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { test as teardown } from '@playwright/test';
|
||||
|
||||
teardown('delete user', async ({ page }) => {
|
||||
await page.goto('/settings/account', { waitUntil: 'networkidle' });
|
||||
await page.locator("#delete-account").click();
|
||||
await page.locator("#confirm").click();
|
||||
|
||||
await page.waitForURL('/');
|
||||
});
|
||||
Reference in New Issue
Block a user