test(modeling/layout): expect layout on reconnect end
This commit is contained in:
parent
411da58d43
commit
6c191590b5
|
@ -294,10 +294,10 @@ describe('features/modeling - layout', function() {
|
||||||
|
|
||||||
describe('relayout', function() {
|
describe('relayout', function() {
|
||||||
|
|
||||||
it('should not repair after reconnect end', inject(function() {
|
it('should repair after reconnect end', inject(function() {
|
||||||
|
|
||||||
// given
|
// given
|
||||||
var newDocking = { x: 660, y: 280 };
|
var newDocking = { x: 660, y: 300 };
|
||||||
var connection = element('SequenceFlow_1');
|
var connection = element('SequenceFlow_1');
|
||||||
|
|
||||||
// when
|
// when
|
||||||
|
@ -307,8 +307,8 @@ describe('features/modeling - layout', function() {
|
||||||
expect(connection).to.have.waypoints([
|
expect(connection).to.have.waypoints([
|
||||||
{ x: 382, y: 241 },
|
{ x: 382, y: 241 },
|
||||||
{ x: 559, y: 241 },
|
{ x: 559, y: 241 },
|
||||||
{ x: 559, y: 138 },
|
{ x: 559, y: 300 },
|
||||||
{ x: 660, y: 280 }
|
{ x: 655, y: 300 }
|
||||||
]);
|
]);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue