mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
Adds Playwright tests for cloud environment with Firebase auth. Changes: - Refactor ComfyPage to abstract base class - Add LocalhostComfyPage (existing devtools implementation) - Add CloudComfyPage (cloud settings API, Firebase auth) - Add cloud fixture with auth state persistence - Add globalSetupCloud for Firebase login - Add playwright.cloud.config with 5x timeout - Add basic cloud tests (load app, canvas interaction, settings) - Update .gitignore for auth state files - Update tsconfig to include playwright.cloud.config Architecture: - ComfyPage abstract with 3 backend-specific methods - LocalhostComfyPage uses /api/devtools + multi-user - CloudComfyPage uses /api/settings + Firebase localStorage - No code duplication (95% shared) Setup: - Requires CLOUD_TEST_EMAIL and CLOUD_TEST_PASSWORD env vars - globalSetup logs in once, saves auth to browser_tests/.auth/ - Tests reuse saved auth state (no login per test)
100 lines
1.5 KiB
Plaintext
100 lines
1.5 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# Package manager lockfiles (allow users to use different package managers)
|
|
bun.lock
|
|
bun.lockb
|
|
yarn.lock
|
|
|
|
# Cache files
|
|
.eslintcache
|
|
.prettiercache
|
|
.stylelintcache
|
|
|
|
node_modules
|
|
.pnpm-store
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
# Claude configuration
|
|
.claude/*.local.json
|
|
.claude/*.local.md
|
|
.claude/*.local.txt
|
|
CLAUDE.local.md
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
*.code-workspace
|
|
!.vscode/extensions.json
|
|
!.vscode/tailwind.json
|
|
!.vscode/custom-css.json
|
|
!.vscode/settings.json.default
|
|
!.vscode/launch.json.default
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
components.d.ts
|
|
|
|
# Ignore test data.
|
|
tests-ui/data/*
|
|
tests-ui/ComfyUI_examples
|
|
tests-ui/workflows/examples
|
|
coverage/
|
|
|
|
# Browser tests
|
|
/test-results/
|
|
/playwright-report/
|
|
/blob-report/
|
|
/playwright/.cache/
|
|
browser_tests/**/*-win32.png
|
|
browser_tests/local/
|
|
browser_tests/.auth/
|
|
|
|
.env
|
|
|
|
dist.zip
|
|
|
|
/temp/
|
|
|
|
# Generated JSON Schemas
|
|
/schemas/
|
|
|
|
# Workflow templates assets
|
|
# Hosted on https://github.com/Comfy-Org/workflow_templates
|
|
/public/templates/
|
|
|
|
# Temporary repository directory
|
|
templates_repo/
|
|
|
|
# Vite's timestamped config modules
|
|
vite.config.mts.timestamp-*.mjs
|
|
|
|
# Linux core dumps
|
|
/core
|
|
|
|
*storybook.log
|
|
storybook-static
|
|
|
|
# MCP Servers
|
|
.playwright-mcp/*
|
|
|
|
.nx/cache
|
|
.nx/workspace-data
|
|
.cursor/rules/nx-rules.mdc
|
|
.github/instructions/nx.instructions.md
|
|
vite.config.*.timestamp*
|
|
vitest.config.*.timestamp*
|
|
|
|
# Weekly docs check output
|
|
/output.txt
|