Files
jongryangje/playwright.config.js

27 lines
570 B
JavaScript
Raw Permalink Normal View History

// @ts-check
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './e2e',
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: [['html', { open: 'never' }], ['list']],
timeout: 60000,
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:8045',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
locale: 'ko-KR',
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});