import { PlaywrightTestConfig, devices } from '@playwright/test';

const config: PlaywrightTestConfig = {
  // NO global setup for verification tests
  use: {
    baseURL: 'http://beta.jamkazam.local:4000',
    actionTimeout: 10000,
    headless: false,
    viewport: { width: 1280, height: 720 },
    ignoreHTTPSErrors: true,
    video: 'retain-on-failure',
    // Use Chrome
    channel: 'chrome',
  },
  timeout: 120000, // 2 minutes per test
  expect: {
    timeout: 10000,
  },
};

export default config;
