mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-28 11:17:16 +00:00
17 lines
351 B
TypeScript
17 lines
351 B
TypeScript
import { PlaywrightTestConfig } from '@playwright/test'
|
|
import { config as dotenvConfig } from 'dotenv'
|
|
dotenvConfig()
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
use: {
|
|
screenshot: 'only-on-failure',
|
|
trace: {
|
|
mode: 'retain-on-failure',
|
|
snapshots: true,
|
|
screenshots: true,
|
|
sources: true
|
|
}
|
|
}
|
|
}
|
|
export default config
|