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

export default defineConfig({
  testDir: './test',
  use: {
    baseURL: 'http://127.0.0.1:8084',
  },
  webServer: {
    command: 'npx -y http-server -p 8084',
    url: 'http://127.0.0.1:8084',
    reuseExistingServer: !process.env.CI,
    timeout: 120000,
  },
});
