Skip to content

Replace networkidle with domcontentloaded in e2e page object#355

Open
mraible wants to merge 1 commit into
mainfrom
fix/replace-networkidle-with-domcontentloaded
Open

Replace networkidle with domcontentloaded in e2e page object#355
mraible wants to merge 1 commit into
mainfrom
fix/replace-networkidle-with-domcontentloaded

Conversation

@mraible

@mraible mraible commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

The Falcon console never reaches networkidle due to persistent background telemetry and websocket traffic. E2E tests hung on waitForLoadState('networkidle') even though the app UI was fully rendered and interactive, causing 6 of 9 tests to time out at 60s consistently.

This replaces all 13 occurrences of waitForLoadState('networkidle') with waitForLoadState('domcontentloaded') in RapidResponseHomePage.ts, matching the pattern used by @crowdstrike/foundry-playwright which uses domcontentloaded exclusively across all its page objects.

Verified locally: all 10 tests pass in under 60s (previously 6 failed on every run).

@mraible mraible requested a review from a team June 24, 2026 00:04
The Falcon console never reaches networkidle due to persistent background
telemetry and websocket traffic. Tests hung on waitForLoadState('networkidle')
even though the app UI was fully rendered and interactive. This matches the
pattern used by @crowdstrike/foundry-playwright which uses domcontentloaded
exclusively.
@mraible mraible force-pushed the fix/replace-networkidle-with-domcontentloaded branch from a954757 to d392e9e Compare June 24, 2026 00:07
@mraible mraible enabled auto-merge (squash) June 24, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant