From e54a3a7692ec7ac86468c8af7014a92894fafae8 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 20 Sep 2018 22:18:10 +0200 Subject: [PATCH] test(draw): visually verify label rendering --- test/spec/draw/BpmnRenderer.labels.bpmn | 27 +++++++++++++++++++++++++ test/spec/draw/BpmnRendererSpec.js | 6 ++++++ 2 files changed, 33 insertions(+) create mode 100644 test/spec/draw/BpmnRenderer.labels.bpmn diff --git a/test/spec/draw/BpmnRenderer.labels.bpmn b/test/spec/draw/BpmnRenderer.labels.bpmn new file mode 100644 index 00000000..a828aebe --- /dev/null +++ b/test/spec/draw/BpmnRenderer.labels.bpmn @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/spec/draw/BpmnRendererSpec.js b/test/spec/draw/BpmnRendererSpec.js index 3c104f41..d94a271f 100644 --- a/test/spec/draw/BpmnRendererSpec.js +++ b/test/spec/draw/BpmnRendererSpec.js @@ -33,6 +33,12 @@ function checkErrors(done) { describe('draw - bpmn renderer', function() { + it('should render labels', function(done) { + var xml = require('./BpmnRenderer.labels.bpmn'); + bootstrapViewer(xml).call(this, checkErrors(done)); + }); + + it('should render activity markers', function(done) { var xml = require('../../fixtures/bpmn/draw/activity-markers.bpmn'); bootstrapViewer(xml).call(this, checkErrors(done));