const { defineConfig, devices } = require('@playwright/test'); module.exports = defineConfig({ testDir: './tests', fullyParallel: true, forbidOnly: !!process.env.CI, retries: 0, workers: 1, reporter: 'list', use: { baseURL: 'https://react.eluxnetworks.net', trace: 'on-first-retry', screenshot: 'on', video: 'on-first-retry', }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, ], outputDir: 'tests/screenshots/', });