mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-31 18:02:27 +00:00
Added a Playwright test reproducer for the known issue where the 'Show anyway' button fails to render in headless environments. The reproducer is located in `examples/reproducers/issue-moderation-ui/` and includes: - `repro.spec.ts`: The test script derived from `tests/visual/moderation.spec.ts` with failing assertions enabled. - `README.md`: Instructions on how to run the reproducer. - `playwright.config.ts`: Configuration to run the test in the reproducer context. This helps triage and verify fixes for the moderation UI visibility issue. Co-authored-by: PR0M3TH3AN <[email protected]>
19 lines
351 B
TypeScript
19 lines
351 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
import baseConfig from "../../playwright.config.ts";
|
|
|
|
export default defineConfig({
|
|
...baseConfig,
|
|
testDir: ".",
|
|
webServer: {
|
|
...baseConfig.webServer,
|
|
cwd: "../../",
|
|
},
|
|
projects: [
|
|
{
|
|
name: "repro",
|
|
testMatch: "**/*.spec.ts",
|
|
use: baseConfig.use,
|
|
},
|
|
],
|
|
});
|