monerod-gui/e2e/playwright.config.ts

21 lines
446 B
TypeScript
Raw Normal View History

2024-09-17 18:33:24 +00:00
/** @type {import('@playwright/test').PlaywrightTestConfig} */
const config = {
testDir: '.',
timeout: 45000,
outputDir: './screenshots',
use: {
headless: false,
viewport: { width: 1280, height: 720 },
launchOptions: {
slowMo: 1000,
},
trace: 'on',
},
expect: {
toMatchSnapshot: { threshold: 0.2 },
},
};
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
module.exports = config;