e2etests/testdata: Fix

This commit is contained in:
Anmol Sethi 2023-02-02 11:55:12 -08:00
parent 5268829b59
commit 9384800435
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
5 changed files with 27 additions and 103 deletions

View file

@ -33,7 +33,7 @@ func (obj *Object) IsSequenceDiagramGroup() bool {
return false
}
}
return len(obj.ChildrenArray) > 0 || obj.ContainsAnyEdge(obj.Graph.Edges)
return obj.ContainsAnyObject(obj.Graph.Objects) || obj.ContainsAnyEdge(obj.Graph.Edges)
}
// notes are descendant of actors with no edges and no children

View file

@ -495,16 +495,16 @@
"id": "choo",
"type": "rectangle",
"pos": {
"x": 1024,
"y": 74
"x": 717,
"y": 1846
},
"width": 150,
"height": 126,
"width": 254,
"height": 216,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"strokeWidth": 0,
"borderRadius": 0,
"fill": "#EDF0FD",
"fill": "#DEE1EB",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
@ -514,7 +514,7 @@
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"blend": true,
"fields": null,
"methods": null,
"columns": null,
@ -528,8 +528,8 @@
"underline": false,
"labelWidth": 38,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"labelPosition": "INSIDE_TOP_LEFT",
"zIndex": 3,
"level": 1
},
{
@ -1120,45 +1120,6 @@
"tooltip": "",
"icon": null,
"zIndex": 1
},
{
"id": "(choo -- )[0]",
"src": "choo",
"srcArrow": "none",
"srcLabel": "",
"dst": "choo-lifeline-end-3474163975",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"strokeWidth": 2,
"stroke": "#0D32B2",
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#676C7E",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
"x": 1099,
"y": 200
},
{
"x": 1099,
"y": 2142
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
}
]
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 477 KiB

View file

@ -495,16 +495,16 @@
"id": "choo",
"type": "rectangle",
"pos": {
"x": 1024,
"y": 74
"x": 717,
"y": 1846
},
"width": 150,
"height": 126,
"width": 254,
"height": 216,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"strokeWidth": 0,
"borderRadius": 0,
"fill": "#EDF0FD",
"fill": "#DEE1EB",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
@ -514,7 +514,7 @@
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"blend": true,
"fields": null,
"methods": null,
"columns": null,
@ -528,8 +528,8 @@
"underline": false,
"labelWidth": 38,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"labelPosition": "INSIDE_TOP_LEFT",
"zIndex": 3,
"level": 1
},
{
@ -1120,45 +1120,6 @@
"tooltip": "",
"icon": null,
"zIndex": 1
},
{
"id": "(choo -- )[0]",
"src": "choo",
"srcArrow": "none",
"srcLabel": "",
"dst": "choo-lifeline-end-3474163975",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"strokeWidth": 2,
"stroke": "#0D32B2",
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#676C7E",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
"x": 1099,
"y": 200
},
{
"x": 1099,
"y": 2142
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
}
]
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 477 KiB