test(drilldown): add integration test for multi-di planes

This commit is contained in:
Martin Stamm 2022-02-01 09:00:50 +01:00 committed by Nico Rehwaldt
parent 1329ee98e8
commit bd180e3977
3 changed files with 11 additions and 4 deletions

View File

@ -406,6 +406,13 @@ describe('Viewer', function() {
return verifyDrilldown(xml);
});
it('should allow drill down into multi-di collapsed sub-process', function() {
var xml = require('../fixtures/bpmn/multiple-nested-processes.bpmn');
return verifyDrilldown(xml);
});
});

View File

@ -788,7 +788,7 @@ describe('import - Importer', function() {
it('should import collapsed sub process', function() {
// given
var xml = require('./multiple-nestes-processes.bpmn');
var xml = require('../../fixtures/bpmn/multiple-nested-processes.bpmn');
var selectedDiagram = 'BpmnDiagram_1';
@ -817,7 +817,7 @@ describe('import - Importer', function() {
it('should import and show collapsed sub process', function() {
// given
var xml = require('./multiple-nestes-processes.bpmn');
var xml = require('../../fixtures/bpmn/multiple-nested-processes.bpmn');
var selectedDiagram = 'SubProcessDiagram_1';
@ -846,7 +846,7 @@ describe('import - Importer', function() {
it('should import first bpmndi:BPMNDiagram when importing collapsed sub process', function() {
// given
var xml = require('./multiple-nestes-processes.bpmn');
var xml = require('../../fixtures/bpmn/multiple-nested-processes.bpmn');
var selectedDiagram = 'BpmnDiagram_2';
@ -875,7 +875,7 @@ describe('import - Importer', function() {
it('should import specified bpmndi:BPMNDiagram when importing collapsed sub process', function() {
// given
var xml = require('./multiple-nestes-processes.bpmn');
var xml = require('../../fixtures/bpmn/multiple-nested-processes.bpmn');
var selectedDiagram = 'SubProcess_2_diagram_B';