mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Fixed a click timeout issue in `tests/visual/moderation.spec.ts` for the 'trusted mute hide' fixture by: 1. Updating `js/ui/components/VideoCard.js` to use `display: flex !important` instead of `block` for the hidden summary container, ensuring consistency with `bv-stack` class and preventing layout issues that made the button unclickable. 2. Adding `url` to fixture videos in `docs/moderation/fixtures/index.html` to prevent them from being hidden by source visibility logic. 3. Adding `onModerationHide` handler to the fixture factory to support the "Restore default moderation" action. 4. Uncommenting the test case logic in `tests/visual/moderation.spec.ts`. Co-authored-by: PR0M3TH3AN <[email protected]>