insomnia/packages/insomnia-smoke-test/playwright.config.ts

16 lines
432 B
TypeScript
Raw Normal View History

/* eslint-disable filenames/match-exported */
import { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run serve',
port: 4010,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
timeout: process.env.CI ? 60 * 1000 : 20 * 1000,
forbidOnly: !!process.env.CI,
outputDir: 'screenshots',
testDir: 'tests',
};
export default config;