mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 02:42:28 +00:00
- Adds examples/reproducers/issue-moderation-ui/repro.spec.ts - Adds examples/reproducers/issue-moderation-ui/README.md - Adds examples/reproducers/issue-moderation-ui/playwright.config.ts - Reproduces failure in 'Show anyway' button visibility check
24 lines
551 B
TypeScript
24 lines
551 B
TypeScript
import baseConfig from '../../../playwright.config.ts';
|
|
import { defineConfig } from '@playwright/test';
|
|
import path from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
const repoRoot = path.resolve(__dirname, '../../..');
|
|
|
|
export default defineConfig({
|
|
...baseConfig,
|
|
testDir: './',
|
|
webServer: {
|
|
...baseConfig.webServer,
|
|
cwd: repoRoot,
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'repro',
|
|
testMatch: '**/*.spec.ts',
|
|
use: baseConfig.projects?.[0]?.use,
|
|
},
|
|
],
|
|
});
|