From 7e5d82d0e8e4bf3dcecd9966de788e83b74525be Mon Sep 17 00:00:00 2001 From: christian-byrne Date: Wed, 25 Sep 2024 12:30:51 -0700 Subject: [PATCH] Use visibility of textarea to determine if loaded correctly --- browser_tests/nodeDisplay.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser_tests/nodeDisplay.spec.ts b/browser_tests/nodeDisplay.spec.ts index f5220d4e0..bbbf98ae5 100644 --- a/browser_tests/nodeDisplay.spec.ts +++ b/browser_tests/nodeDisplay.spec.ts @@ -28,5 +28,8 @@ test.describe('Optional input', () => { await comfyPage.loadWorkflow('only_optional_inputs') expect(await comfyPage.getGraphNodesCount()).toBe(1) expect(comfyPage.page.locator('.comfy-missing-nodes')).not.toBeVisible() + + // If the node's multiline text widget is visible, then it was loaded successfully + expect(comfyPage.page.locator('.comfy-multiline-input')).toHaveCount(1) }) })