mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 07:00:23 +00:00
Use visibility of textarea to determine if loaded correctly
This commit is contained in:
committed by
Chenlei Hu
parent
2b2b1cdb85
commit
7e5d82d0e8
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user