// @ts-check
const { defineConfig } = require('playwright/test');

module.exports = defineConfig({
  testDir: __dirname,
  testMatch: '*.spec.js',
  timeout: 30000,
  retries: 0,
  workers: 3,
  use: {
    baseURL: process.env.SX_TEST_URL || 'http://localhost:8013',
    headless: true,
    actionTimeout: 10000,
  },
  projects: [
    { name: 'chromium', use: { browserName: 'chromium' } },
  ],
});
