From 1cf81d2375ce67c2955702ff549f4297c7dc8b30 Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Tue, 30 Jan 2024 10:25:56 +0100 Subject: [PATCH] test: add vertical collaboration example --- .../fixtures/bpmn/collaboration-vertical.bpmn | 101 ++++++++++++++++++ test/spec/ModelerSpec.js | 9 ++ 2 files changed, 110 insertions(+) create mode 100644 test/fixtures/bpmn/collaboration-vertical.bpmn diff --git a/test/fixtures/bpmn/collaboration-vertical.bpmn b/test/fixtures/bpmn/collaboration-vertical.bpmn new file mode 100644 index 0000000000..f83dbdd16e --- /dev/null +++ b/test/fixtures/bpmn/collaboration-vertical.bpmn @@ -0,0 +1,101 @@ + + + + + + + + + + + Flow_0udpwgg + + + Flow_0udpwgg + Flow_1ds0g2d + + + + + Flow_1ds0g2d + + + + + + + Event_04gz91y + Activity_1yln18q + Event_0wiu8mt + + + + Flow_1wsapma + + + Flow_1wsapma + Flow_0jjji9q + + + + Flow_0jjji9q + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/spec/ModelerSpec.js b/test/spec/ModelerSpec.js index 2cc32dd555..6e66d48c22 100644 --- a/test/spec/ModelerSpec.js +++ b/test/spec/ModelerSpec.js @@ -90,6 +90,15 @@ describe('Modeler', function() { }); + it('should import vertical collaboration', function() { + var xml = require('../fixtures/bpmn/collaboration-vertical.bpmn'); + return createModeler(xml).then(function(result) { + + expect(result.error).not.to.exist; + }); + }); + + it('should import ioSpecification', function() { var xml = require('./features/modeling/input-output/DataInputOutput.bpmn'); return createModeler(xml).then(function(result) {