#308 Chromium browser test sometimes times out waiting for the duration menu's Fit in view
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#308
- issue
- state:closed
`test/duration-backgrounds-browser.mjs:283` right-clicks the `inner` duration band and waits for the **Fit in view** menu item. In local Chromium runs (the Playwright 1.58.2 container), it times out in about half the runs (`waiting for getByRole('menuitem', { name: 'Fit in view' })`), so the rest of `test/browser.mjs` is skipped. CI's Chromium job has passed so far. Seen on main and on several branches (#298's work, the two-finger gesture change), so it isn't caused by them. Likely cause: the right-click lands while the plugins dialog's close animation or the background redraw is still running, or the band moved under the cursor, so the context menu doesn't open. The step could wait for the band to be stable (or for `.timeline-backdrop` removal and a frame) before right-clicking, and retry opening the menu once. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/308
Related
- #298 The timeline theme sets label and measure text sizes
- #310 Two fingers hold the timeline; size has its own buttons
- #312 Relationship arcs are drawn only over the stage, so they hold still while panning
- #317 Ruler labels take their detail from the tick's exact interval
- #322 A stale scroll event no longer closes the timeline menu
- #323 Dense durations: near-identical spans share a band, rows stop at what fits, the rest are listed
- A stale scroll event no longer closes the timeline menu (#308)
- Merge main (#321, #322) into dense durations
- Dense durations: near-identical spans share a band, rows stop at what fits, the rest are listed (#316)