configurator-conflict.json 1.2 KB

12345678910111213141516171819202122
  1. {
  2. "name": "verify-configurator-conflict",
  3. "nodes": [
  4. {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}},
  5. {"id": "cfg1", "name": "One", "type": "configurator", "position": {"x": -150, "y": 100},
  6. "config": {"settings": [{"name": "message", "value": "first"}]}},
  7. {"id": "cfg2", "name": "Two", "type": "configurator", "position": {"x": 150, "y": 100},
  8. "config": {"settings": [{"name": "message", "value": "second"}]}},
  9. {"id": "target", "name": "Target", "type": "stop-and-error", "position": {"x": 0, "y": 200},
  10. "config": {"message": "own", "mode": "stop"}}
  11. ],
  12. "connections": [
  13. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "cfg1", "targetInput": "data"},
  14. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "cfg2", "targetInput": "data"},
  15. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "data"},
  16. {"sourceNodeId": "cfg1", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "config"},
  17. {"sourceNodeId": "cfg2", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "config"}
  18. ],
  19. "expect": {
  20. "target": {"status": "failed", "errorContains": "configured twice"}
  21. }
  22. }