mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
* Convert playwright config and tests to TS * Release notes * Update VRT * Dummy commit * Delete js snapshots * Fix call to expect * Move extended expect and test to fixtures * Fix wrong commit * Fix typecheck error * Update VRT * Dummy commit to run GH actions * Delete mobile budget test JS --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
21 lines
555 B
TypeScript
21 lines
555 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: !process.env.CI ? [['html', { open: 'never' }]] : undefined,
|
|
use: {
|
|
userAgent: 'playwright',
|
|
screenshot: 'on',
|
|
browserName: 'chromium',
|
|
baseURL: process.env.E2E_START_URL ?? 'http://localhost:3001',
|
|
trace: 'on-first-retry',
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
expect: {
|
|
toHaveScreenshot: { maxDiffPixels: 5 },
|
|
},
|
|
});
|