Files
dockergprompt/playwright.config.ts
T
2026-09-01 09:22:30 -03:00

28 lines
638 B
TypeScript
Executable File

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
fullyParallel: true,
forbidOnly: false,
retries: 0,
workers: 1,
reporter: 'html',
use: {
baseURL: 'http://localhost:16820',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] },
},
],
webServer: null,
});