diff --git a/src/element-templates/properties-panel/ElementTemplatesPropertiesProvider.js b/src/element-templates/properties-panel/ElementTemplatesPropertiesProvider.js index 8a6e8de..d1c06f8 100644 --- a/src/element-templates/properties-panel/ElementTemplatesPropertiesProvider.js +++ b/src/element-templates/properties-panel/ElementTemplatesPropertiesProvider.js @@ -22,7 +22,8 @@ const LOWER_PRIORITY = 300; const ALWAYS_DISPLAYED_GROUPS = [ 'general', - 'documentation' + 'documentation', + 'multiInstance' ]; diff --git a/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.bpmn b/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.bpmn index 3c042c6..1cd4f38 100644 --- a/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.bpmn +++ b/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.bpmn @@ -1,12 +1,12 @@ - + - - - - - - + + + + + + input-1-value @@ -15,35 +15,52 @@ - - + + + + + + + + + + + + + + - + + + + + + diff --git a/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.spec.js b/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.spec.js index 3a81443..12ef3d9 100644 --- a/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.spec.js +++ b/test/spec/element-templates/properties-panel/ElementTemplatesPropertiesProvider.spec.js @@ -523,6 +523,29 @@ describe('provider/element-templates - ElementTemplates', function() { }); + + describe('multiInstance', function() { + + it('should display multi-instance section', inject( + async function(elementRegistry, selection, modeling, bpmnFactory) { + + // given + const element = elementRegistry.get('MultiInstanceTask'); + + // when + await act(() => { + selection.select(element); + }); + + // then + const group = domQuery('[data-group-id="group-multiInstance"]', container); + + expect(group).to.exist; + }) + ); + + }); + });