Files
bitvid/js/ui/overlay
google-labs-jules[bot]andPR0M3TH3AN 023664847e Fix flaky popover E2E test by enforcing layout constraints and optimizing popover engine
- Updated `js/ui/overlay/popoverEngine.js` to use `fallbackStrategy: "bestFit"` in `flip` middleware, ensuring popovers choose the most visible placement when space is constrained.
- Updated `tests/e2e/popover.spec.ts` to enforce a tall body with top padding and scroll the trigger to the bottom of the viewport, creating a deterministic environment for testing popover flipping.
- Unskipped the "keeps the bottom-right grid menu inside the viewport" test case.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-10 13:13:53 +00:00
..