logseq/playwright.config.ts

13 lines
282 B
TypeScript
Raw Normal View History

2021-11-23 06:30:01 +00:00
import { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
testDir: './e2e-tests',
maxFailures: 1,
2021-11-29 07:15:45 +00:00
workers: 1, // NOTE: must be 1 for now, otherwise tests will fail.
2021-11-23 06:30:01 +00:00
use: {
screenshot: 'only-on-failure',
}
}
export default config