E2E tests: 54 WASM shell timeouts with native 15MB build #106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
With the native Dioxus build (
web-nativefeature, 15MB WASM), 54 out of 167 Playwright E2E tests fail with 5-minute timeouts. All failures are tests that require full WASM shell navigation (login → store → open island). Tests that use direct HTTP/API calls pass fine.Root cause
The 15MB native WASM bundle takes 60-120s to load in headless Chromium. When Playwright runs multiple browser contexts in parallel, they compete for CPU/memory, pushing load times beyond the 5-minute timeout.
In session 6, the same tests passed (40/41) because fewer tests ran or had less resource contention.
Test results (session 7)
Non-timeout failures
Options to fix
workers: 1in config) — serializes tests, each gets dedicated resourcesRelated