import { defineConfig } from '@playwright/test';

export default defineConfig({
  testDir: './tests',
  use: {
    slowMo: 1000,
    headless: true,
    viewport: { width: 1280, height: 720 },
    ignoreHTTPSErrors: true,
    screenshot: 'only-on-failure',
    video: 'retain-on-failure',
  },
  reporter: [['html', { outputFolder: 'playwright-report', open: 'never' }]],
});