* feat(history): normalize bounded execution evidence (#209) * fix(history): bound lifecycle kind checks before hashing (#209) * feat(history): persist execution attempts with restore fencing (#209) * test(api): bootstrap standalone backup restore fixtures (#209) * feat(history): isolate bounded asynchronous ledger writes (#209) * feat(history): observe actual queue attempts without altering execution (#209) * fix(database): honor package-scoped configuration (#211) * test(history): exercise real cached and headless executions (#209) * fix(history): reject unsupported uniqueness and isolate package fixtures (#209) * test(history): support Python 3.10 package fixture cleanup (#209)
22 lines
985 B
JavaScript
22 lines
985 B
JavaScript
import { defineConfig } from './node_modules/@playwright/test/index.mjs';
|
|
|
|
if (!process.env.PM_COMFY_ROOT) throw new Error('Set PM_COMFY_ROOT to a pinned disposable ComfyUI checkout');
|
|
const host = new URL(process.env.PM_EXECUTION_URL || 'http://127.0.0.1:8196/');
|
|
if (host.href !== 'http://127.0.0.1:8196/') throw new Error('Execution tests require managed loopback http://127.0.0.1:8196/');
|
|
|
|
export default defineConfig({
|
|
testDir: '../../tests/comfyui',
|
|
testMatch: 'execution-history.spec.mjs',
|
|
outputDir: './test-results/executions/cases',
|
|
timeout: 60000,
|
|
workers: 1,
|
|
forbidOnly: Boolean(process.env.CI),
|
|
retries: 0,
|
|
use: { baseURL: host.href, browserName: 'chromium', viewport: { width: 1600, height: 1100 },
|
|
trace: 'retain-on-failure', screenshot: 'only-on-failure' },
|
|
projects: [
|
|
{ name: 'classic-start', metadata: { initialRenderer: false } },
|
|
{ name: 'nodes2-start', metadata: { initialRenderer: true } },
|
|
],
|
|
});
|