mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* playwright test fixture * release notes * update snapshots * test * again * same timeout as web client * faster * srsly * Update VRT * update test * get rid of this test for now * updating update-vrt * speed it up a bit * same timeout as desktop-client --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
24 lines
600 B
TypeScript
24 lines
600 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
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
|
|
},
|
|
});
|