Files
bitvid/dist/examples/reproducers/issue-moderation-visibility
google-labs-jules[bot]andPR0M3TH3AN 0bfa3b08e8 fix(ci): fix netlify deployment by building to dist
- Move from root publishing to clean `dist/` directory
- Create `scripts/build-dist.mjs` to orchestrate build and copy assets
- Update `package.json` build script
- Update `netlify.toml` to publish `dist/`
- Ignore `dist/` in `.gitignore`

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-29 09:07:15 +00:00
..

Reproducer for Moderation UI Visibility Bug

This reproducer demonstrates the issue where the "Show anyway" button and related moderation badges fail to render or be visible in the test environment (headless mode), despite logic suggesting they should be present.

Issue Description

In tests/visual/moderation.spec.ts, several assertions are commented out because expect(showAnywayButton).toBeVisible() fails or clicking the button times out.

How to Run

  1. Build the project (specifically CSS):

    npm run build
    
  2. Run the reproducer test (using the repro-specific config):

    npx playwright test -c examples/reproducers/playwright.config.ts examples/reproducers/issue-moderation-visibility/repro.spec.ts
    

Expected Outcome

The test should fail at await expect(showAnywayButton).toBeVisible(); or timeout.