import { defineConfig, devices } from "@playwright/test"; export default defineConfig({ testDir: "./e2e", testIgnore: ["**/ui/**", "**/news-real/**", "**/quality/**"], fullyParallel: false, workers: 1, retries: 1, timeout: 30000, reporter: [["list"], ["html", { open: "never" }]], expect: { toHaveScreenshot: { animations: "disabled", caret: "hide", maxDiffPixelRatio: 0.02, }, }, use: { baseURL: process.env.PLAYWRIGHT_BASE_URL || "http://127.0.0.1:3002", trace: "retain-on-failure", }, projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], });