mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
- Remove prebuild-litegraph.js and restore-litegraph.js scripts - Add i18nSetup.ts module for litegraph TypeScript 'declare' keyword preprocessing - Create ComfyPageNoUser fixture to avoid user creation conflicts in i18n tests - Update playwright.i18n.config.ts to use integrated setup/teardown - Simplify collect-i18n command to just run Playwright tests - Ensure pnpm collect-i18n works correctly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
446 B
TypeScript
15 lines
446 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './scripts',
|
|
reporter: 'list',
|
|
timeout: 60000,
|
|
testMatch: /collect-i18n-.*\.ts/,
|
|
// Run tests sequentially to avoid conflicts
|
|
workers: 1,
|
|
fullyParallel: false,
|
|
// Use combined setup that includes litegraph preprocessing
|
|
globalSetup: './browser_tests/globalSetupWithI18n.ts',
|
|
globalTeardown: './browser_tests/globalTeardownWithI18n.ts'
|
|
})
|