signoz/frontend/playwright.config.ts

22 lines
481 B
TypeScript
Raw Normal View History

2022-05-18 00:08:36 +05:30
import { PlaywrightTestConfig } from '@playwright/test';
import dotenv from 'dotenv';
dotenv.config();
2022-05-17 19:28:06 +05:30
const config: PlaywrightTestConfig = {
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
preserveOutput: 'always',
name: 'Signoz',
testDir: './tests',
use: {
2022-05-18 00:08:36 +05:30
trace: 'retain-on-failure',
baseURL: process.env.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:3301',
2022-05-17 19:28:06 +05:30
},
updateSnapshots: 'all',
fullyParallel: false,
quiet: true,
};
2022-05-18 00:08:36 +05:30
2022-05-17 19:28:06 +05:30
export default config;