Files
zeekay d6423729c2 Complete rebrand from ComfyUI to Hanzo Studio
- Replace all ComfyUI references with Hanzo Studio
- Update comfy.org URLs to hanzo.ai/studio.hanzo.ai
- Change comfyanonymous to hanzoai
- Update Comfy-Org to hanzo-studio
- Rename files and directories
- Update package names and configurations
- Update documentation and README files

This is a comprehensive rebranding to align with Hanzo AI's
product suite and company identity.
2025-11-23 20:50:10 -08:00

33 lines
1.1 KiB
TypeScript

import type { Page } from '@playwright/test';
export class TestServerStatus {
readonly loading;
readonly settingUpPython;
readonly startingHanzo Studio;
readonly finishing;
readonly error;
readonly errorDesktopVersion;
constructor(readonly window: Page) {
this.loading = window.getByText('Loading...');
this.settingUpPython = window.getByText('Setting up Python Environment...');
this.startingHanzo Studio = window.getByText('Starting Hanzo Studio server...');
// "Finishing" state has been renamed in the new UI
this.finishing = window.getByText('Loading Human Interface');
this.error = window.getByText('Unable to start Hanzo Studio Desktop');
this.errorDesktopVersion = this.error.locator('p.text-lg.text-neutral-400');
}
async get() {
if (await this.loading.isVisible()) return 'loading';
if (await this.settingUpPython.isVisible()) return 'setting up python';
if (await this.startingHanzo Studio.isVisible()) return 'starting hanzo-studio';
if (await this.finishing.isVisible()) return 'finishing';
if (await this.error.isVisible()) return 'error';
return 'unknown';
}
}