Files
actual/packages/desktop-electron/playwright.config.ts
Matiss Janis Aboltins 32bc254040 Lint: port react and import rules from eslint to oxc (#6312)
* Enforce JSX file extensions for React components

- Update eslint config to enforce .jsx/.tsx extensions for files containing JSX
- Convert docs package JS files to JSX where they contain React code
- Fix unstable nested components in CrossoverGraph and NetWorthGraph
- Update oxlint configuration
- Update e2e fixtures

* Fix: Rename react-hooks/exhaustive-deps to react/exhaustive-deps

Co-authored-by: matiss <matiss@mja.lv>

* Enhance ESLint configuration and update import rules

* Refactor ESLint configuration to enhance import order rules and add eslint-plugin-import

* Fix ESLint directive comments in API files to use correct syntax

* Fix

* Fix ESLint directive comments and update import/extensions rule in configuration

* Refactor ESLint configuration to enforce JSX extension rules and improve code clarity

* Update ESLint configuration: disable 'import/no-unresolved' rule and remove obsolete .oxlintrc.json file

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-12-12 22:40:38 +00:00

23 lines
547 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
timeout: 60000, // 60 seconds
retries: 1,
testDir: 'e2e/',
reporter: undefined,
outputDir: 'e2e/test-results/',
snapshotPathTemplate:
'{testDir}/__screenshots__/{testFilePath}/{arg}-{platform}{ext}',
use: {
userAgent: 'playwright',
screenshot: 'on',
browserName: 'chromium',
trace: 'on-first-retry',
ignoreHTTPSErrors: true,
},
expect: {
toHaveScreenshot: { maxDiffPixels: 5 },
timeout: 60000, // 60 seconds
},
});