mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
- Added reproducer for Moderation UI visibility bug in `examples/reproducers/issue-moderation-visibility`. - Added reproducer for Popover viewport bug in `examples/reproducers/issue-popover-viewport`. - Added `examples/reproducers/playwright.config.ts` to support running these reproducers with a local web server serving the repo root. - Verified that both reproducers successfully fail as expected in the current environment. Co-authored-by: PR0M3TH3AN <[email protected]>
22 lines
791 B
Markdown
22 lines
791 B
Markdown
# Reproducer for Popover Viewport Bug
|
|
|
|
This reproducer demonstrates the flaky issue where the popover fails to flip to the top in a restricted viewport.
|
|
|
|
## Issue Description
|
|
In `tests/e2e/popover.spec.ts`, the test "keeps the bottom-right grid menu inside the viewport" is skipped because it is flaky or fails. This script unskips it to reproduce the failure.
|
|
|
|
## How to Run
|
|
|
|
1. Build the project (specifically CSS):
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
2. Run the reproducer test (using the repro-specific config):
|
|
```bash
|
|
npx playwright test -c examples/reproducers/playwright.config.ts examples/reproducers/issue-popover-viewport/repro.spec.ts
|
|
```
|
|
|
|
## Expected Outcome
|
|
The test might fail with a placement assertion error (expected 'top...', got 'bottom...') or similar.
|