fix: Repair 3 broken e2e tests from recent feature commits #4
No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/e2e-test-failures"
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
ProjectScopePickeradded inb6fb179— the Usage tab now has 3<select>elements (Project scope + Model + Date range), not 2. Adjusts expected count and selector index.dispatchEvent('click')for the Retry button click to bypass Playwright's hit-test, which was failing because the RAF-coalesced auto-scroll (introduced ind8b2a18) continuously repositions the button between frames, causing "intercepts pointer events" errors.MutationObserverto use{ childList: true }instead of{ childList: true, subtree: true }. The comment already said "observe only direct children" but the code still hadsubtree: true, causing unnecessary layout thrash on every DOM mutation during streaming (a real production perf bug, not just a test issue).Why they broke
bdba133(e2e suite created)b6fb179(ProjectScopePicker added, tests not updated)bdba133b6fb179(same)864e8be(retry feature created)d8b2a18(RAF auto-scroll made viewport unstable)