chore(tests): adapt bendpoint tests to new cropping

Related to #684
This commit is contained in:
Nico Rehwaldt 2017-12-13 14:05:29 +01:00
parent 61f3ac4cc2
commit a708a1cd4e
3 changed files with 4 additions and 4 deletions

View File

@ -93,10 +93,10 @@ describe('features/modeling - create connection', function() {
// then // then
// expect cropped connection with custom start/end // expect cropped connection with custom start/end
expect(newConnection).to.have.waypoints([ expect(newConnection).to.have.waypoints([
{ x: 738, y: 400 }, { x: 734, y: 400 },
{ x: 590, y: 400 }, { x: 590, y: 400 },
{ x: 590, y: 130 }, { x: 590, y: 130 },
{ x: 446, y: 130 } { x: 447, y: 130 }
]); ]);
})); }));

View File

@ -91,7 +91,7 @@ describe('features/modeling - layout association', function() {
expect(connection).to.have.waypoints([ expect(connection).to.have.waypoints([
{ original: { x: 420, y: 400 }, x: 417, y: 385 }, { original: { x: 420, y: 400 }, x: 417, y: 385 },
{ x: 400, y: 300 }, { x: 400, y: 300 },
{ original: { x: 191, y: 120 }, x: 204, y: 131 } { original: { x: 191, y: 120 }, x: 204, y: 132 }
]); ]);
})); }));

View File

@ -284,7 +284,7 @@ describe('features/modeling - layout', function() {
// then // then
expect(connection).to.have.waypoints([ expect(connection).to.have.waypoints([
{ original: { x: 586, y: 258 }, x: 586, y: 258 }, { original: { x: 586, y: 258 }, x: 586, y: 240 },
{ x: 586, y: 162 }, { x: 586, y: 162 },
{ original: { x: 428, y: 162 }, x: 478, y: 162 } { original: { x: 428, y: 162 }, x: 478, y: 162 }
]); ]);