fix: replace waitForLoadState('networkidle') with domcontentloaded in all E2E tests
Release / release (push) Failing after 10s
Release / release (push) Failing after 10s
This commit is contained in:
@@ -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])');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user