| 123456789101112131415161718192021222324 |
- {
- "name": "verify-form-render",
- "nodes": [
- {"id": "n1", "name": "Form", "type": "form-trigger", "position": {"x": 0, "y": 0},
- "config": {"title": "Send an image", "description": "Pick a picture",
- "fields": [
- {"name": "caption", "label": "Caption", "type": "text", "required": true},
- {"name": "image", "label": "Image", "type": "file", "required": true, "accept": "image/*"}
- ]}}
- ],
- "connections": [],
- "http": {
- "method": "GET",
- "path": "/webhook/{workflowId}",
- "expectStatus": 200,
- "expectHeaders": {"Content-Type": "text/html"},
- "expectBodyContains": [
- "Send an image", "Pick a picture",
- "name=\"caption\"", "name=\"image\"",
- "type=\"file\"", "accept=\"image/*\"",
- "enctype=\"multipart/form-data\""
- ]
- }
- }
|