n8n/packages/testing/playwright/expectations/instance-ai/should-execute-individual-node-from-node-toolbar/trace.jsonl
2026-04-28 14:58:49 +00:00

9 lines
3.1 KiB
JSON

{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-28T10:56:03.522Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow with a Manual Trigger node connected to a Set node named \"node execution test\".","bypassPlan":true,"reason":"New simple workflow with manual trigger and set node — no data tables or multi-workflow complexity."},"output":{"result":"Error: `bypassPlan: true` is for edits to an EXISTING workflow and requires a `workflowId`. New workflow builds must go through `plan` so an orchestrator-run verification checkpoint is scheduled. Call `plan` with a `build-workflow` task instead.","taskId":""}}
{"kind":"tool-call","stepId":2,"agentRole":"planner","toolName":"add-plan-item","input":{"summary":"Single workflow with a Manual Trigger connected to a Set node named 'node execution test'.","assumptions":["The Set node requires no specific fields configured — it will be added as-is for testing purposes.","No external integrations or credentials are needed."],"item":{"id":"wf-manual-set","name":"node execution test","purpose":"A minimal workflow triggered manually that passes data through a Set node named 'node execution test'. Useful for testing node execution and data transformation in a controlled, on-demand manner.","integrations":[],"triggerDescription":"Manual trigger","dependsOn":[],"kind":"workflow"}},"output":{"result":"Added: Build 'node execution test' workflow (1 item total)"}}
{"kind":"tool-call","stepId":3,"agentRole":"planner","toolName":"add-plan-item","input":{"item":{"id":"chk-manual-set","title":"Verify 'node execution test' workflow runs successfully","instructions":"Use verify-built-workflow with the work item ID from the build outcome. Confirm the workflow runs without errors, the Manual Trigger fires, and data passes through the Set node named 'node execution test' successfully.","dependsOn":["wf-manual-set"],"kind":"checkpoint"}},"output":{"result":"Added: Verify 'node execution test' workflow runs successfully (2 items total)"}}
{"kind":"tool-call","stepId":4,"agentRole":"planner","toolName":"submit-plan","input":{},"output":{"approved":false,"feedback":"Awaiting approval"}}
{"kind":"tool-resume","stepId":5,"agentRole":"planner","toolName":"submit-plan","input":{},"output":{"approved":true},"resumeData":{"approved":true}}
{"kind":"tool-call","stepId":6,"agentRole":"orchestrator","toolName":"plan","input":{},"output":{"result":"Plan approved and 2 tasks dispatched."}}
{"kind":"tool-call","stepId":7,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'Manual Trigger' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 'node execution test',\n parameters: {}\n }\n});\n\nexport default workflow('node-execution-test', 'Node Execution Test')\n .add(manualTrigger)\n .to(setNode);\n","name":"Node Execution Test"},"output":{"success":true,"workflowId":"BjFSBbCuQLxrHg3E"}}