Files
40f625d2aa Update integration tests for v0.5 compatibility (#1369)
## Runtime change

- Fixes window state not saved on launch

## Test changes

- Updates integration test locators for frontend v1.27.x
- Removes obsolete migrate step from install flow

### Migration step changes

Migration is now combined with the install location step as an accordion
section.

### Test locators updated

- GPU selection: "Select GPU" → "Choose your hardware setup"
- Install location: Updated input selector to use placeholder
- Server status: "Finishing..." → "Loading Human Interface"
- CPU toggle: Updated to role-based selector

### Window state fix

Window bounds now captured on launch. Previously only saved on
resize/move events.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-1369-Update-integration-tests-for-v0-5-compatibility-2876d73d3650811c88f1c81e55994f6b)
by [Unito](https://www.unito.io)

---------

Co-authored-by: github-actions <[email protected]>
2025-10-09 05:29:25 -07:00

11 lines
225 B
TypeScript

import type { ElectronAPI } from './src/preload';
declare global {
declare const __COMFYUI_VERSION__: string;
declare const __COMFYUI_DESKTOP_VERSION__: string;
interface Window {
electronAPI?: ElectronAPI;
}
}