mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00
22 lines
451 B
TypeScript
22 lines
451 B
TypeScript
import { PlaywrightTestConfig } from '@playwright/test';
|
|
import dotenv from 'dotenv';
|
|
|
|
dotenv.config();
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
preserveOutput: 'always',
|
|
name: 'Signoz',
|
|
testDir: './tests',
|
|
use: {
|
|
trace: 'retain-on-failure',
|
|
baseURL: process.env.FRONTEND_API_ENDPOINT,
|
|
},
|
|
updateSnapshots: 'all',
|
|
fullyParallel: false,
|
|
quiet: true,
|
|
};
|
|
|
|
export default config;
|