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

export default defineConfig({
  forbidOnly: true,
  fullyParallel: false,
  outputDir: process.env.DADA_PLAYWRIGHT_OUTPUT_DIR ?? "test-results/e2e",
  reporter: "line",
  retries: 0,
  testDir: "./tests/e2e",
  timeout: 30_000,
  use: {
    channel: "msedge",
    headless: true,
    trace: "on",
    viewport: { height: 720, width: 1280 },
  },
  workers: 1,
});
