mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 08:52:25 +00:00
- Add `examples/reproducers/popover-bug-repro.spec.ts` for ReferenceError in popover tests. - Add `examples/reproducers/moderation-bug-repro.spec.ts` for "Show anyway" button visibility. - Add `examples/reproducers/sidebar-bug-repro.spec.ts` for mobile sidebar layout margin mismatch. - Add `examples/reproducers/login-modal-bug-repro.spec.ts` for login modal error visibility. - Include markdown documentation for each reproducer.
767 B
767 B
Mobile Sidebar Layout Bug
Bug Description
The tests/visual/overlay-layers.spec.ts test suite fails in the "mobile sidebar shares desktop rail behavior" test. There is a mismatch between the expected margin of the app container and the computed margin in the test environment (diff of ~45px or ~12.8px depending on environment). This indicates a layout issue where the mobile sidebar or app container margins are not being calculated or applied correctly according to the CSS variables.
Steps to Reproduce
- Install dependencies:
npm install - Run the reproducer script:
npx playwright test examples/reproducers/sidebar-bug-repro.spec.ts
Logs
Error: expect(received).toBeLessThan(expected)
Expected: < 0.5
Received: 12.799999999999997