test(draw): add skipped test for color rendering

This commit is contained in:
Philipp Fromme 2016-12-05 13:20:15 +01:00 committed by Nico Rehwaldt
parent 8c26699d80
commit e35248c5fd
3 changed files with 364 additions and 2 deletions

View File

@ -923,8 +923,8 @@ function BpmnRenderer(eventBus, styles, pathMap, canvas, priority) {
/* send path */ drawPath(parentGfx, pathData, {
strokeWidth: 1,
fill: 'black',
stroke: 'white'
fill: getStrokeColor(element),
stroke: getFillColor(element)
});
return task;

356
test/fixtures/bpmn/draw/colors.bpmn vendored Normal file
View File

@ -0,0 +1,356 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn:collaboration id="Collaboration_12gf8gk">
<bpmn:participant id="Participant_11xqomt" name="Regressnahme &#10;Sachbearbeiter" processRef="Process_1" />
</bpmn:collaboration>
<bpmn:process id="Process_1" isExecutable="false">
<bpmn:startEvent id="StartEvent_1mnut37" name="Regressverdacht gemeldet">
<bpmn:outgoing>SequenceFlow_1jrsqqc</bpmn:outgoing>
<bpmn:messageEventDefinition />
</bpmn:startEvent>
<bpmn:task id="Task_0iirfhd" name="Fall prüfen">
<bpmn:incoming>SequenceFlow_1jrsqqc</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0h9s0mp</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_1jrsqqc" sourceRef="StartEvent_1mnut37" targetRef="Task_0iirfhd" />
<bpmn:exclusiveGateway id="ExclusiveGateway_092mc05" name="Regress möglich?">
<bpmn:incoming>SequenceFlow_0h9s0mp</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0pqo7zt</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_1qt82pt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_0h9s0mp" sourceRef="Task_0iirfhd" targetRef="ExclusiveGateway_092mc05" />
<bpmn:task id="Task_02fdytg" name="Zahlungsaufforderung an VN schicken">
<bpmn:incoming>SequenceFlow_0pqo7zt</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_152w54z</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_0pqo7zt" name="Ja" sourceRef="ExclusiveGateway_092mc05" targetRef="Task_02fdytg" />
<bpmn:task id="Task_04aofbe" name="Vorgang schließen">
<bpmn:incoming>SequenceFlow_1qt82pt</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_17ohrlh</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_1qt82pt" name="Nein" sourceRef="ExclusiveGateway_092mc05" targetRef="Task_04aofbe" />
<bpmn:endEvent id="EndEvent_01a6rq8" name="Vorgang geschlossen">
<bpmn:incoming>SequenceFlow_17ohrlh</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_17ohrlh" sourceRef="Task_04aofbe" targetRef="EndEvent_01a6rq8" />
<bpmn:task id="Task_12lthpj" name="Vorgang auf Wiedervorlage setzen">
<bpmn:incoming>SequenceFlow_152w54z</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1xvnonz</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_152w54z" sourceRef="Task_02fdytg" targetRef="Task_12lthpj" />
<bpmn:sequenceFlow id="SequenceFlow_1xvnonz" sourceRef="Task_12lthpj" targetRef="EventBasedGateway_0qdxz70" />
<bpmn:eventBasedGateway id="EventBasedGateway_0qdxz70">
<bpmn:incoming>SequenceFlow_1xvnonz</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0mbw4et</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_024djlt</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_02klp91</bpmn:outgoing>
</bpmn:eventBasedGateway>
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_1ias0p2" name="Widerspruch erhalten">
<bpmn:incoming>SequenceFlow_0mbw4et</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_01w8xpk</bpmn:outgoing>
<bpmn:messageEventDefinition />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_0mbw4et" sourceRef="EventBasedGateway_0qdxz70" targetRef="IntermediateCatchEvent_1ias0p2" />
<bpmn:task id="Task_0eti3m2" name="Widerspruch prüfen">
<bpmn:incoming>SequenceFlow_01w8xpk</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_17fk7n7</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_01w8xpk" sourceRef="IntermediateCatchEvent_1ias0p2" targetRef="Task_0eti3m2" />
<bpmn:exclusiveGateway id="ExclusiveGateway_0lk2nir" name="Gerechtfertigt?">
<bpmn:incoming>SequenceFlow_17fk7n7</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1hytpfi</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_17yh2em</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_17fk7n7" sourceRef="Task_0eti3m2" targetRef="ExclusiveGateway_0lk2nir" />
<bpmn:task id="Task_1qlbv5i" name="Vorgang schließen">
<bpmn:incoming>SequenceFlow_1hytpfi</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1u8uz5a</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_1hytpfi" name="Ja" sourceRef="ExclusiveGateway_0lk2nir" targetRef="Task_1qlbv5i" />
<bpmn:endEvent id="EndEvent_0k9uozu" name="Vorgang geschlossen">
<bpmn:incoming>SequenceFlow_1u8uz5a</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1u8uz5a" sourceRef="Task_1qlbv5i" targetRef="EndEvent_0k9uozu" />
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_037r6f2" name="Wiedervorlage fällig">
<bpmn:incoming>SequenceFlow_024djlt</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_096z65r</bpmn:outgoing>
<bpmn:timerEventDefinition />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_024djlt" sourceRef="EventBasedGateway_0qdxz70" targetRef="IntermediateCatchEvent_037r6f2" />
<bpmn:task id="Task_1w7bb1w" name="Vorgang an Inkasso-Dienstleister geben">
<bpmn:incoming>SequenceFlow_096z65r</bpmn:incoming>
<bpmn:incoming>SequenceFlow_17yh2em</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0ld619c</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_096z65r" sourceRef="IntermediateCatchEvent_037r6f2" targetRef="Task_1w7bb1w" />
<bpmn:sequenceFlow id="SequenceFlow_17yh2em" name="Nein" sourceRef="ExclusiveGateway_0lk2nir" targetRef="Task_1w7bb1w" />
<bpmn:endEvent id="EndEvent_0nfuudw" name="Vorgang offen">
<bpmn:incoming>SequenceFlow_0ld619c</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_0ld619c" sourceRef="Task_1w7bb1w" targetRef="EndEvent_0nfuudw" />
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0d430z1" name="Geld eingegangen">
<bpmn:incoming>SequenceFlow_02klp91</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0rng9d2</bpmn:outgoing>
<bpmn:messageEventDefinition />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_02klp91" sourceRef="EventBasedGateway_0qdxz70" targetRef="IntermediateCatchEvent_0d430z1" />
<bpmn:task id="Task_1bwmf45" name="Geldeingang verbuchen">
<bpmn:incoming>SequenceFlow_0rng9d2</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0krol9j</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_0rng9d2" sourceRef="IntermediateCatchEvent_0d430z1" targetRef="Task_1bwmf45" />
<bpmn:task id="Task_0yan60f" name="Vorgang schließen">
<bpmn:incoming>SequenceFlow_0krol9j</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1h7edo4</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="SequenceFlow_0krol9j" sourceRef="Task_1bwmf45" targetRef="Task_0yan60f" />
<bpmn:endEvent id="EndEvent_119yhl0" name="Vorgang geschlossen">
<bpmn:incoming>SequenceFlow_1h7edo4</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1h7edo4" sourceRef="Task_0yan60f" targetRef="EndEvent_119yhl0" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_12gf8gk">
<bpmndi:BPMNShape id="Participant_11xqomt_di" bpmnElement="Participant_11xqomt" bioc:stroke="FUCHSIA" bioc:fill="YELLOW">
<dc:Bounds x="186" y="207" width="1281" height="422" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_1mnut37_di" bpmnElement="StartEvent_1mnut37">
<dc:Bounds x="262" y="403" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="235" y="439" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_0iirfhd_di" bpmnElement="Task_0iirfhd">
<dc:Bounds x="357" y="381" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1jrsqqc_di" bpmnElement="SequenceFlow_1jrsqqc">
<di:waypoint xsi:type="dc:Point" x="298" y="421" />
<di:waypoint xsi:type="dc:Point" x="357" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="282.5" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_092mc05_di" bpmnElement="ExclusiveGateway_092mc05" isMarkerVisible="true">
<dc:Bounds x="479" y="396" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="459" y="355" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0h9s0mp_di" bpmnElement="SequenceFlow_0h9s0mp">
<di:waypoint xsi:type="dc:Point" x="457" y="421" />
<di:waypoint xsi:type="dc:Point" x="479" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="423" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_02fdytg_di" bpmnElement="Task_02fdytg">
<dc:Bounds x="591" y="381" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0pqo7zt_di" bpmnElement="SequenceFlow_0pqo7zt">
<di:waypoint xsi:type="dc:Point" x="529" y="421" />
<di:waypoint xsi:type="dc:Point" x="591" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="514" y="402" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_04aofbe_di" bpmnElement="Task_04aofbe">
<dc:Bounds x="591" y="503" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1qt82pt_di" bpmnElement="SequenceFlow_1qt82pt">
<di:waypoint xsi:type="dc:Point" x="504" y="421" />
<di:waypoint xsi:type="dc:Point" x="504" y="543" />
<di:waypoint xsi:type="dc:Point" x="591" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="476" y="474" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_01a6rq8_di" bpmnElement="EndEvent_01a6rq8">
<dc:Bounds x="735" y="525" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="708" y="561" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_17ohrlh_di" bpmnElement="SequenceFlow_17ohrlh">
<di:waypoint xsi:type="dc:Point" x="691" y="543" />
<di:waypoint xsi:type="dc:Point" x="735" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="668" y="533" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_12lthpj_di" bpmnElement="Task_12lthpj">
<dc:Bounds x="716" y="381" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_152w54z_di" bpmnElement="SequenceFlow_152w54z">
<di:waypoint xsi:type="dc:Point" x="691" y="421" />
<di:waypoint xsi:type="dc:Point" x="716" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="658.5" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1xvnonz_di" bpmnElement="SequenceFlow_1xvnonz">
<di:waypoint xsi:type="dc:Point" x="816" y="421" />
<di:waypoint xsi:type="dc:Point" x="848" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="787" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EventBasedGateway_0qdxz70_di" bpmnElement="EventBasedGateway_0qdxz70" bioc:fill="YELLOW" bioc:stroke="FUCHSIA">
<dc:Bounds x="848" y="396" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="828" y="446" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="IntermediateCatchEvent_1ias0p2_di" bpmnElement="IntermediateCatchEvent_1ias0p2" bioc:stroke="FUCHSIA" bioc:fill="YELLOW">
<dc:Bounds x="927" y="305" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="900" y="341" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0mbw4et_di" bpmnElement="SequenceFlow_0mbw4et" bioc:stroke="FUCHSIA">
<di:waypoint xsi:type="dc:Point" x="873" y="396" />
<di:waypoint xsi:type="dc:Point" x="873" y="323" />
<di:waypoint xsi:type="dc:Point" x="927" y="323" />
<bpmndi:BPMNLabel>
<dc:Bounds x="828" y="349.5" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_0eti3m2_di" bpmnElement="Task_0eti3m2" bioc:stroke="FUCHSIA" bioc:fill="YELLOW">
<dc:Bounds x="995" y="283" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_01w8xpk_di" bpmnElement="SequenceFlow_01w8xpk" bioc:stroke="FUCHSIA">
<di:waypoint xsi:type="dc:Point" x="963" y="323" />
<di:waypoint xsi:type="dc:Point" x="995" y="323" />
<bpmndi:BPMNLabel>
<dc:Bounds x="934" y="313" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_0lk2nir_di" bpmnElement="ExclusiveGateway_0lk2nir" isMarkerVisible="true">
<dc:Bounds x="1133" y="298" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1113" y="280" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_17fk7n7_di" bpmnElement="SequenceFlow_17fk7n7">
<di:waypoint xsi:type="dc:Point" x="1095" y="323" />
<di:waypoint xsi:type="dc:Point" x="1133" y="323" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1069" y="313" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_1qlbv5i_di" bpmnElement="Task_1qlbv5i">
<dc:Bounds x="1221" y="283" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1hytpfi_di" bpmnElement="SequenceFlow_1hytpfi">
<di:waypoint xsi:type="dc:Point" x="1183" y="323" />
<di:waypoint xsi:type="dc:Point" x="1221" y="323" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1154" y="303" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0k9uozu_di" bpmnElement="EndEvent_0k9uozu">
<dc:Bounds x="1374" y="305" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1347" y="341" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1u8uz5a_di" bpmnElement="SequenceFlow_1u8uz5a">
<di:waypoint xsi:type="dc:Point" x="1321" y="323" />
<di:waypoint xsi:type="dc:Point" x="1374" y="323" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1302.5" y="313" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_037r6f2_di" bpmnElement="IntermediateCatchEvent_037r6f2">
<dc:Bounds x="927" y="403" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="900" y="373" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_024djlt_di" bpmnElement="SequenceFlow_024djlt">
<di:waypoint xsi:type="dc:Point" x="898" y="421" />
<di:waypoint xsi:type="dc:Point" x="927" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="867.5" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_1w7bb1w_di" bpmnElement="Task_1w7bb1w">
<dc:Bounds x="1221" y="381" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_096z65r_di" bpmnElement="SequenceFlow_096z65r">
<di:waypoint xsi:type="dc:Point" x="963" y="421" />
<di:waypoint xsi:type="dc:Point" x="1221" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1047" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_17yh2em_di" bpmnElement="SequenceFlow_17yh2em">
<di:waypoint xsi:type="dc:Point" x="1158" y="348" />
<di:waypoint xsi:type="dc:Point" x="1158" y="421" />
<di:waypoint xsi:type="dc:Point" x="1221" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1104" y="371.5" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0nfuudw_di" bpmnElement="EndEvent_0nfuudw">
<dc:Bounds x="1374" y="403" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1347" y="439" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0ld619c_di" bpmnElement="SequenceFlow_0ld619c">
<di:waypoint xsi:type="dc:Point" x="1321" y="421" />
<di:waypoint xsi:type="dc:Point" x="1374" y="421" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1302.5" y="411" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_0d430z1_di" bpmnElement="IntermediateCatchEvent_0d430z1">
<dc:Bounds x="927" y="525" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="900" y="490" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_02klp91_di" bpmnElement="SequenceFlow_02klp91">
<di:waypoint xsi:type="dc:Point" x="873" y="446" />
<di:waypoint xsi:type="dc:Point" x="873" y="543" />
<di:waypoint xsi:type="dc:Point" x="927" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="828" y="484.5" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_1bwmf45_di" bpmnElement="Task_1bwmf45">
<dc:Bounds x="1026" y="503" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0rng9d2_di" bpmnElement="SequenceFlow_0rng9d2">
<di:waypoint xsi:type="dc:Point" x="963" y="543" />
<di:waypoint xsi:type="dc:Point" x="1026" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="949.5" y="533" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_0yan60f_di" bpmnElement="Task_0yan60f">
<dc:Bounds x="1175" y="503" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0krol9j_di" bpmnElement="SequenceFlow_0krol9j">
<di:waypoint xsi:type="dc:Point" x="1126" y="543" />
<di:waypoint xsi:type="dc:Point" x="1175" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1105.5" y="533" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_119yhl0_di" bpmnElement="EndEvent_119yhl0">
<dc:Bounds x="1310" y="525" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1283" y="561" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1h7edo4_di" bpmnElement="SequenceFlow_1h7edo4">
<di:waypoint xsi:type="dc:Point" x="1275" y="543" />
<di:waypoint xsi:type="dc:Point" x="1310" y="543" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1247.5" y="533" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -169,6 +169,12 @@ describe('draw - bpmn renderer', function() {
});
it.skip('should render colors', function(done) {
var xml = require('../../fixtures/bpmn/draw/colors.bpmn');
bootstrapViewer(xml)(checkErrors(done));
});
it('should render call activity', function(done) {
var xml = require('../../fixtures/bpmn/draw/call-activity.bpmn');