mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-22 23:51:17 +08:00

* test: playwright github action is updated Co-authored-by: Pranshu Chittora <pranshu@signoz.io>
22 lines
481 B
TypeScript
22 lines
481 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.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:3301',
|
|
},
|
|
updateSnapshots: 'all',
|
|
fullyParallel: false,
|
|
quiet: true,
|
|
};
|
|
|
|
export default config;
|