From 7cdab5a212b05dffe554158bafc3e91925ef146a Mon Sep 17 00:00:00 2001 From: Glary-Bot Date: Sun, 19 Apr 2026 23:33:48 +0000 Subject: [PATCH] fix: use runButton.click() instead of executeCommand for user action Address review feedback from @christian-byrne: use user-action pattern (clicking the run button) instead of invoking commands directly. --- browser_tests/tests/execution/dynamicComboPreview.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_tests/tests/execution/dynamicComboPreview.spec.ts b/browser_tests/tests/execution/dynamicComboPreview.spec.ts index 1f91da8705..232ff17a5c 100644 --- a/browser_tests/tests/execution/dynamicComboPreview.spec.ts +++ b/browser_tests/tests/execution/dynamicComboPreview.spec.ts @@ -13,7 +13,7 @@ test.describe( const previewNode = await comfyPage.nodeOps.getNodeRefById('2') - await comfyPage.command.executeCommand('Comfy.QueuePrompt') + await comfyPage.runButton.click() await expect .poll(async () => (await previewNode.getWidget(0)).getValue(), { @@ -32,7 +32,7 @@ test.describe( await comfyPage.page.keyboard.press('Control+a') const subgraphNode = await sourceNode.convertToSubgraph() - await comfyPage.command.executeCommand('Comfy.QueuePrompt') + await comfyPage.runButton.click() await subgraphNode.navigateIntoSubgraph()