mirror of
https://github.com/enso-org/enso.git
synced 2024-11-25 21:25:20 +03:00
86c59469d0
1. The electron test hit timeouts from time to time, probably because of slow response from the engine: increased timeout. 2. Unify vite version across packages.
19 lines
423 B
TypeScript
19 lines
423 B
TypeScript
/** @file Playwright browser testing configuration. */
|
|
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
forbidOnly: !!process.env.CI,
|
|
workers: 1,
|
|
timeout: 120000,
|
|
reportSlowTests: { max: 5, threshold: 60000 },
|
|
globalSetup: './tests/setup.ts',
|
|
expect: {
|
|
timeout: 5000,
|
|
toHaveScreenshot: { threshold: 0 },
|
|
},
|
|
use: {
|
|
actionTimeout: 5000,
|
|
},
|
|
})
|