diff --git a/test/spec/provider/cloud-element-templates/fixtures/undefined-input-binding.json b/test/spec/provider/cloud-element-templates/fixtures/undefined-input-binding.json new file mode 100644 index 000000000..e50aadcec --- /dev/null +++ b/test/spec/provider/cloud-element-templates/fixtures/undefined-input-binding.json @@ -0,0 +1,78 @@ +{ + "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json", + "name": "Undefined input binding", + "id": "undefined-input-binding", + "appliesTo": [ + "bpmn:Task" + ], + "elementType": { + "value": "bpmn:ServiceTask" + }, + "properties": [ + { + "id": "default-changer", + "label": "Change the default", + "type": "Dropdown", + "choices": [ + { + "name": "Set it as 1", + "value": "set-1" + }, + { + "name": "Set it as 2", + "value": "set-2" + }, + { + "name": "Set it as 3", + "value": "set-3" + } + ], + "binding": { + "type": "zeebe:input", + "name": "ignore" + }, + "constraints": { + "notEmpty": true + } + }, + { + "label": "Input Test", + "type": "String", + "binding": { + "type": "zeebe:input", + "name": "test" + } + }, + { + "label": "Property test", + "type": "String", + "binding": { + "type": "zeebe:property", + "name": "test" + } + }, + { + "label": "Output Test", + "type": "String", + "binding": { + "type": "zeebe:output", + "source": "test" + } + }, + { + "label": "Task HEADER Test", + "type": "String", + "binding": { + "type": "zeebe:taskHeader", + "key": "test" + } + }, + { + "label": "Task HEADER Test", + "type": "String", + "binding": { + "type": "zeebe:taskDefinition:type" + } + } + ] +} \ No newline at end of file