mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:39:17 -05:00
* playwright testing for electron * pipeline updates * fix normal e2e scripts * fix path to artifact * listing out whats there * attempt to fix ci * umm * again * setting a viewport * window size to be consistent across machine for tests * now it work... Righhttt? * hmm * do it * worflow * will this work * oops * dont skip * trust in the pipeline gods * remove update snapshots, just do it in the pipeline * change name of snapshot to account for os * lint * fix package script
23 lines
566 B
TypeScript
23 lines
566 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
export default defineConfig({
|
|
timeout: 45000, // 45 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 },
|
|
},
|
|
});
|