nxtgauge-admin-solid/playwright.external.config.ts

20 lines
461 B
TypeScript
Raw Normal View History

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
fullyParallel: false,
reporter: [['list']],
use: {
baseURL: process.env.EXTERNAL_BASE_URL || 'http://127.0.0.1:3001',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
viewport: { width: 1440, height: 900 },
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
});