diff --git a/test/spec/features/rules/BpmnRules.process.bpmn b/test/spec/features/rules/BpmnRules.process.bpmn index 8921ee3d..f468c831 100644 --- a/test/spec/features/rules/BpmnRules.process.bpmn +++ b/test/spec/features/rules/BpmnRules.process.bpmn @@ -23,8 +23,12 @@ + + + + @@ -87,6 +91,9 @@ + + + \ No newline at end of file diff --git a/test/spec/features/rules/BpmnRulesSpec.js b/test/spec/features/rules/BpmnRulesSpec.js index e9aa0b18..08403ef8 100644 --- a/test/spec/features/rules/BpmnRulesSpec.js +++ b/test/spec/features/rules/BpmnRulesSpec.js @@ -423,6 +423,28 @@ describe('features/modeling/rules - BpmnRules', function() { })); + it('connect Group -> TextAnnotation', inject(function() { + + expectCanConnect('Group', 'TextAnnotation', { + sequenceFlow: false, + messageFlow: false, + association: true, + dataAssociation: false + }); + })); + + + it('connect TextAnnotation -> Group', inject(function() { + + expectCanConnect('TextAnnotation', 'Group', { + sequenceFlow: false, + messageFlow: false, + association: true, + dataAssociation: false + }); + })); + + it('connect StartEvent_None -> DataStoreReference', inject(function() { expectCanConnect('StartEvent_None', 'DataStoreReference', {