mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
- Create ci-tests-e2e-cloud.yaml workflow - Manual trigger via workflow_dispatch - Uses CLOUD_TEST_EMAIL and CLOUD_TEST_PASSWORD secrets - Add CLOUD_TESTS.md documentation
929 B
929 B
Cloud E2E Tests
Setup
Cloud tests run against https://stagingcloud.comfy.org with Firebase authentication.
Required GitHub Secrets
Add these to repository settings → Secrets → Actions:
CLOUD_TEST_EMAIL: Firebase test account emailCLOUD_TEST_PASSWORD: Firebase test account password
Running Locally
# Set environment variables
export CLOUD_TEST_EMAIL="your-test-email@example.com"
export CLOUD_TEST_PASSWORD="your-password"
# Run cloud tests
pnpm exec playwright test --config=playwright.cloud.config.ts
Running in CI
Workflow: .github/workflows/ci-tests-e2e-cloud.yaml
Trigger manually via Actions tab → "CI: Tests E2E Cloud" → Run workflow
Test Structure
- Tests tagged with
@cloudrun only in cloud config - Auth handled once in
globalSetupCloud.ts - Auth state saved to
browser_tests/.auth/cloudUser.json - Cloud fixture in
fixtures/ComfyPageCloud.ts