mirror of
https://github.com/enso-org/enso.git
synced 2025-01-05 15:42:52 +03:00
908f426cac
1. Bumped eslint and its plugins versions, and autofix new errors (mostly eslint disables which were no longer neccessary) 2. ~~Replace eslint with eslint-p which speed up linter a bit (at least on my machine)~~ - CI machines don't like it. 3. Fixed/worked around one problem with flacky selection _unit_ tests.
19 lines
422 B
TypeScript
19 lines
422 B
TypeScript
/** @file Playwright browser testing configuration. */
|
|
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
forbidOnly: !!process.env.CI,
|
|
workers: 1,
|
|
timeout: 60000,
|
|
reportSlowTests: { max: 5, threshold: 60000 },
|
|
globalSetup: './tests/setup.ts',
|
|
expect: {
|
|
timeout: 5000,
|
|
toHaveScreenshot: { threshold: 0 },
|
|
},
|
|
use: {
|
|
actionTimeout: 5000,
|
|
},
|
|
})
|