Files
app/playwright.config.js
T

8 lines
497 B
JavaScript

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests', testMatch: '**/*.spec.js', fullyParallel: false,
use: { baseURL: 'http://127.0.0.1:4178', trace: 'retain-on-failure' },
projects: [ { name: 'desktop', use: { ...devices['Desktop Chrome'] } }, { name: 'mobile', use: { ...devices['Pixel 7'] } } ],
webServer: { command: 'node server.js', env: { PORT: '4178' }, url: 'http://127.0.0.1:4178/healthz', reuseExistingServer: false },
});