Files
ComfyUI_frontend/browser_tests/fixtures
bymyself b2a82a5729 [don't port to main] fix: Skip cloud auth guard and mock /api/features for Playwright tests
Cloud builds (rh-test) have two initialization blockers for Playwright tests:

1. Firebase auth guard in router waits 16s for auth initialization
   - Tests timeout at 15s, causing all tests to fail
   - Fix: Skip entire auth guard when DISTRIBUTION !== 'cloud'
   - Safe because guard is 100% cloud-specific (Firebase, cloud login, etc.)

2. main.ts calls loadRemoteConfig() which fetches /api/features
   - Only triggered when isCloud=true, but still blocks if endpoint missing
   - Fix: Mock /api/features in ComfyPage setup, try real backend first

Both issues only affect cloud builds. Playwright builds with DISTRIBUTION='localhost'
so these fixes make tests pass while keeping cloud functionality intact.
2025-10-25 13:11:11 -07:00
..
2025-09-28 15:33:29 -07:00
2025-09-28 15:33:29 -07:00
2024-10-25 08:29:02 -04:00
2025-09-28 15:33:29 -07:00
2025-09-28 15:33:29 -07:00