fix: replace waitForLoadState('networkidle') with domcontentloaded in all E2E tests
Release / release (push) Failing after 10s

This commit is contained in:
2026-04-26 19:13:38 -07:00
parent bb6be245b7
commit 470e6a03e3
8 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ test.describe.serial('Epic 1: User Registration', () => {
test('Registration with valid data creates account', async ({ page }) => {
await page.goto('http://localhost:3000/auth/register');
// Wait for JavaScript to be ready
await page.waitForLoadState('networkidle');
// Wait for page to load
await page.waitForLoadState('domcontentloaded');
await page.waitForSelector('form');
await page.waitForSelector('button[type="submit"]:not([disabled])');