Skip to content

Commit

Permalink
fix: simulate non-zeebe usertask creation in forms behavior specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaiir committed Dec 7, 2024
1 parent 6eea141 commit 8b9c3a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/camunda-cloud/FormsBehaviorSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('camunda-cloud/features/modeling - FormsBehavior', function() {
});

// when
modeling.createShape(element, { x: 100, y: 100 }, rootElement);
modeling.createShape(element, { x: 100, y: 100 }, rootElement, { createElementsBehavior: false });

// then
expect(getUserTaskForm(element)).not.to.exist;
Expand Down Expand Up @@ -230,7 +230,7 @@ describe('camunda-cloud/features/modeling - FormsBehavior', function() {
});

// when
modeling.createShape(element, { x: 100, y: 100 }, rootElement);
modeling.createShape(element, { x: 100, y: 100 }, rootElement, { createElementsBehavior: false });

// then
expect(getUserTaskForm(element)).not.to.exist;
Expand Down Expand Up @@ -269,7 +269,7 @@ describe('camunda-cloud/features/modeling - FormsBehavior', function() {
});

// when
modeling.createShape(element, { x: 100, y: 100 }, rootElement);
modeling.createShape(element, { x: 100, y: 100 }, rootElement, { createElementsBehavior: false });

// then
expect(getUserTaskForm(element)).to.exist;
Expand Down Expand Up @@ -310,7 +310,7 @@ describe('camunda-cloud/features/modeling - FormsBehavior', function() {
});

// when
modeling.createShape(element, { x: 100, y: 100 }, rootElement);
modeling.createShape(element, { x: 100, y: 100 }, rootElement, { createElementsBehavior: false });
}));


Expand Down

0 comments on commit 8b9c3a7

Please sign in to comment.