Files
lingxi-web/playwright.config.ts
T
wmq af49d22ca7 feat: release contextual omnichannel customer platform
Add Telegram, WhatsApp and email account management, realtime messaging, contextual multilingual AI, customer intelligence, knowledge workflows, enterprise controls, a unified design system and complete repository documentation.
2026-07-30 02:29:53 +08:00

24 lines
798 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: './tests/e2e',
timeout: 30_000,
expect: { timeout: 10_000 },
fullyParallel: false,
// E2E projects share one real tenant and gateway; serialize mutations to avoid
// desktop/mobile runs racing on conversation ordering and channel state.
workers: 1,
retries: 0,
reporter: [['list'], ['html', { outputFolder: 'playwright-report', open: 'never' }]],
use: {
baseURL: process.env.E2E_BASE_URL || 'http://127.0.0.1:8088',
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
},
projects: [
{ name: 'desktop-chromium', use: { ...devices['Desktop Chrome'] } },
{ name: 'mobile-chromium', use: { ...devices['Pixel 7'] } },
],
outputDir: 'test-results',
})