logseq/playwright.config.ts

13 lines
282 B
TypeScript

import { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
testDir: './e2e-tests',
maxFailures: 1,
workers: 1, // NOTE: must be 1 for now, otherwise tests will fail.
use: {
screenshot: 'only-on-failure',
}
}
export default config