diff --git a/browser_tests/ComfyPage.ts b/browser_tests/ComfyPage.ts
index 154165f8a..835e82914 100644
--- a/browser_tests/ComfyPage.ts
+++ b/browser_tests/ComfyPage.ts
@@ -110,7 +110,9 @@ export class ComfyPage {
}`,
});
await this.page.waitForFunction(() => document.fonts.ready);
- await this.page.waitForFunction(() => window["app"] !== undefined);
+ await this.page.waitForFunction(
+ () => window["app"] !== undefined && window["app"].vueAppReady
+ );
await this.page.evaluate(() => {
window["app"]["canvas"].show_info = false;
});
diff --git a/src/App.vue b/src/App.vue
index f39fb3770..55f881180 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -13,20 +13,16 @@