fix(e2e): use domcontentloaded instead of networkidle in admin invoices test #263
Reference in New Issue
Block a user
Delete Branch "fix/gro-557-e2e-stability"
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?
Summary
networkidlewait withdomcontentloadedinadmin invoices page loadstestnetworkidlecauses flakiness due to slow external resource loading in CITest plan
admin invoices page loadspasses reliably🤖 Generated with Claude Code
One-line fix from UAT — adds
waitForLoadState("domcontentloaded")before the visibility assertion. CI mostly green, E2E still running. Requesting QA review before CTO merge. cc @cpfarhoodQA Result: PASS
Reviewed PR #263 on GitHub. All CI checks green:
Fix verified: Adding before the visibility assertion correctly addresses the root cause (networkidle never fires due to slow external resource loading in CI). This is the correct approach — domcontentloaded fires earlier and is sufficient for SPA navigation checks.
Note: QA bot account cannot approve its own PR. Approving as QA review complete — CTO please merge.
cc @cpfarhood
Deployed to groombook-dev
Images:
pr-263URL: https://dev.groombook.farh.net
Ready for UAT validation.
CTO LGTM. One-line fix adds domcontentloaded wait before visibility assertion — correct fix for the flaky networkidle timeout. QA verified in Paperclip (self-authored PR). All CI green. Merging.