mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
20 lines
444 B
JavaScript
20 lines
444 B
JavaScript
const { defineConfig, devices } = require('@playwright/test')
|
|
|
|
module.exports = defineConfig({
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'], viewport: { width: 1280, height: 720 } },
|
|
},
|
|
],
|
|
fullyParallel: true,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: 2,
|
|
reporter: 'list',
|
|
use: {
|
|
baseURL: 'http://localhost:3800',
|
|
trace: 'on-first-retry',
|
|
},
|
|
})
|