Skip to content

Commit

Permalink
test: verify new task listener event
Browse files Browse the repository at this point in the history
This is to confirm that the event type still works.

Related to camunda/camunda-modeler#4748
  • Loading branch information
barmac committed Dec 12, 2024
1 parent 009cd9c commit 7389da2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/camunda-cloud/task-listener.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ const valid = [
{
name: 'task listener with type',
config: { version: '8.7' },
moddleElement: createModdle(createProcess(`
<bpmn:userTask id="UserTask_1">
<bpmn:extensionElements>
<zeebe:taskListeners>
<zeebe:taskListener eventType="assigning" type="com.example.AssignmentListener" />
</zeebe:taskListeners>
<zeebe:userTask />
</bpmn:extensionElements>
</bpmn:userTask>
`))
},
{
name: 'task listener with outdated event type',
config: { version: '8.7' },
moddleElement: createModdle(createProcess(`
<bpmn:userTask id="UserTask_1">
<bpmn:extensionElements>
Expand Down

0 comments on commit 7389da2

Please sign in to comment.