Files
ComfyUiPortalNext/playwright.config.js
T
chris.dumas 96be6412a8
Test, build, and deploy ComfyUI Jobs / test-build (push) Successful in 4m41s
Test, build, and deploy ComfyUI Jobs / deploy (push) Successful in 14s
Test, build, and deploy ComfyUI Jobs / browser-test (push) Failing after 7m5s
Test, build, and deploy ComfyUI Jobs / qa-gate (push) Failing after 4s
Add portal browser testing and QA issue automation
2026-10-26 14:16:26 +00:00

23 lines
572 B
JavaScript

const { defineConfig, devices } = require('@playwright/test');
const baseURL = process.env.E2E_BASE_URL || 'http://127.0.0.1:7002';
module.exports = defineConfig({
testDir: './e2e',
timeout: 30000,
expect: { timeout: 10000 },
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
workers: 1,
reporter: [['list'], ['json', { outputFile: 'e2e/test-results.json' }]],
use: {
baseURL,
headless: true,
trace: 'retain-on-failure',
screenshot: 'off',
video: 'off',
...devices['Desktop Chrome'],
},
});