mirror of
https://github.com/actualbudget/actual.git
synced 2026-08-02 21:56:50 -05:00
c4775bf288
* emit junit files * wire up the actions * note * [autofix.ci] apply automated fixes * fix overly broad error * scope to master runs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
26 lines
735 B
TypeScript
26 lines
735 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
timeout: 60000, // 60 seconds
|
|
retries: 1,
|
|
testDir: 'e2e/',
|
|
reporter: process.env.CI
|
|
? [['list'], ['junit', { outputFile: 'e2e/test-results/junit.xml' }]]
|
|
: 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: {
|
|
// See desktop-client playwright.config.ts for the threshold rationale.
|
|
toHaveScreenshot: { maxDiffPixels: 5, threshold: 0.05 },
|
|
timeout: 60000, // 60 seconds
|
|
},
|
|
});
|