mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-22 04:47:46 +08:00

* test: sign-up test are updated * test: fail test of version api is added * test: more test case over signup page is added * test: coverage is added * chore: auth json is updated * test: auth token and refresh token test is updated
24 lines
558 B
TypeScript
24 lines
558 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,
|
|
testMatch: ['**/*.spec.ts'],
|
|
reporter: process.env.CI ? 'github' : 'list',
|
|
};
|
|
|
|
export default config;
|