mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 16:50:54 +01:00
24 lines
625 B
TypeScript
24 lines
625 B
TypeScript
import type { PlaywrightTestConfig } from '@ngx-playwright/test';
|
|
import { dirname, join } from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
// @ts-ignore
|
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
use: {
|
|
channel: 'chrome',
|
|
headless: true,
|
|
},
|
|
|
|
testDir: join(__dirname, 'specs'),
|
|
testMatch: '**/*.e2e-spec.ts',
|
|
|
|
reporter: [
|
|
[process.env.GITHUB_ACTION ? 'github' : 'list'],
|
|
// ['html', { outputFolder: join(__dirname, 'results') }],
|
|
['junit', { outputFile: join(__dirname, 'results/junit.xml') }],
|
|
],
|
|
};
|
|
|
|
export default config;
|