test(e2e): tip-clear Progress wait after #228 void-navigate - #229
Conversation
Void prksNavigate is correct, but progress_ids could accept the departing Progress group's non-loading tile. Commit the hash in navigate, require the requested status title before sampling ids, and drop the fixed 120ms sleep. Co-authored-by: Nikola Perović <Fooftilly@users.noreply.github.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: Fooftilly/PRKS/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe end-to-end test helpers now wait for route changes and Progress page readiness. Work ID collection is scoped to the main tile and no longer uses a fixed delay. ChangesProgress readiness
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Progress helpers wait for the requested route and rendered status before reading page content. The inspected rendering path supports that synchronization, so no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 7 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (7 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
PR Summary by QodoStabilize Progress E2E waits after asynchronous navigation
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Summary
Tip-clear for the High Qodo finding on merged #228: void
prksNavigatestays, but Progress helpers must not sample cards from the departing status group.Changes
navigate()waits forlocation.hash === routeafter fire-and-forget navigatewait_progress_ready(status)requires hash + non-loading main tile + page title containing the statusprogress_ids()/progress()use that readiness; id collection scoped to.prks-tile--mainwait_for_timeout(120)sleep inprogress_idsContext
navigate/progress_idsstale route race) — KEEPinternal/ws-228-qodo-triage.md(Project store)Test plan
test_a_pending_status_moves_the_work_between_progress_groupsPASStests.e2e.test_wait_for_async(14) PASS — void-navigate regression still greenSummary by CodeRabbit