@axeptio/design-system
Version:
Design System for Axeptio
32 lines (29 loc) • 649 B
JavaScript
// @ts-check
import { defineConfig, devices } from '@playwright/experimental-ct-react';
/**
* @see https://playwright.dev/docs/test-configuration
* @type {import('@playwright/experimental-ct-react').PlaywrightTestConfig}
*/
export default defineConfig({
testDir: './src/',
snapshotDir: './__snapshots__',
timeout: 10 * 1000,
fullyParallel: true,
retries: 0,
workers: 1,
reporter: 'line',
use: {
trace: 'on-first-retry',
ctPort: 3100,
headless: true
},
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome']
}
}
]
});