Files
screenci__screenci/playwright.config.ts
Olli Paloviita cdc720a297 Initial commit
2026-03-29 11:38:31 +03:00

22 lines
567 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: 'e2e',
testMatch: ['**/*.e2e.ts'],
/* Tests within a file run sequentially; module-level singletons (e.g.
* activeClickRecorder) are shared within a worker, so keep one worker. */
workers: 1,
reporter: 'list',
use: {
headless: true,
/* Enable touch so locator.tap() dispatches pointer/touch events. */
hasTouch: true,
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], hasTouch: true },
},
],
})