fix playwright tests (#759)

This commit is contained in:
slothful-vassal
2026-02-01 21:02:36 +01:00
committed by GitHub
parent 029f1f134b
commit 6d5494935d
8 changed files with 90 additions and 42 deletions

View File

@@ -3,6 +3,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();
// Wait for modal to appear
await page.locator("#confirm").waitFor({ state: 'visible' });
await page.locator("#confirm").click();
await page.waitForURL('/');