File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 11/**
22 * E2E Tests for Telemetry Feature (S3)
33 *
4+ * NOTE: These tests require a running ComfyUI backend (port 8188).
5+ * They are skipped in CI environments without ComfyUI.
6+ *
47 * Tests:
58 * 1. Toggle OFF → no events recorded
69 * 2. Toggle ON → events recorded
1114
1215const { test, expect } = require ( '@playwright/test' ) ;
1316
14- // Base URL for ComfyUI
17+ // Base URL for ComfyUI API (not the test harness)
1518const BASE_URL = process . env . COMFYUI_URL || 'http://127.0.0.1:8188' ;
1619
20+ // Skip all tests if in CI (no ComfyUI backend available)
21+ // These are integration tests that require the real backend
22+ const isCI = ! ! process . env . CI ;
23+
1724test . describe ( 'S3: Telemetry Feature' , ( ) => {
1825
19- test . beforeEach ( async ( { page } ) => {
20- // Navigate to ComfyUI
21- await page . goto ( BASE_URL ) ;
22- await page . waitForLoadState ( 'networkidle' ) ;
26+ // Skip entire suite in CI - these require running ComfyUI
27+ test . skip ( isCI , 'Skipping telemetry tests in CI - requires running ComfyUI backend' ) ;
2328
24- // Wait for Doctor sidebar to be available
25- await page . waitForTimeout ( 2000 ) ;
26- } ) ;
2729
2830 test ( 'telemetry status endpoint returns correct format' , async ( { request } ) => {
2931 const response = await request . get ( `${ BASE_URL } /doctor/telemetry/status` ) ;
You can’t perform that action at this time.
0 commit comments