test
This commit is contained in:
parent
fc3b7286a8
commit
a6086baa33
9 changed files with 239 additions and 31 deletions
|
|
@ -473,6 +473,14 @@ class2: class without rows {
|
|||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "just-width",
|
||||
script: `x: "teamwork: having someone to blame" {
|
||||
width: 100
|
||||
}
|
||||
|
||||
`,
|
||||
},
|
||||
}
|
||||
|
||||
runa(t, tcs)
|
||||
|
|
|
|||
48
e2etests/testdata/regression/just-width/dagre/board.exp.json
generated
vendored
Normal file
48
e2etests/testdata/regression/just-width/dagre/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"name": "",
|
||||
"fontFamily": "SourceSansPro",
|
||||
"shapes": [
|
||||
{
|
||||
"id": "x",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"width": 262,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "#F7F8FE",
|
||||
"stroke": "#0D32B2",
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "teamwork: having someone to blame",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "#0A0F25",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 262,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": []
|
||||
}
|
||||
52
e2etests/testdata/regression/just-width/dagre/sketch.exp.svg
vendored
Normal file
52
e2etests/testdata/regression/just-width/dagre/sketch.exp.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 324 KiB |
48
e2etests/testdata/regression/just-width/elk/board.exp.json
generated
vendored
Normal file
48
e2etests/testdata/regression/just-width/elk/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"name": "",
|
||||
"fontFamily": "SourceSansPro",
|
||||
"shapes": [
|
||||
{
|
||||
"id": "x",
|
||||
"type": "rectangle",
|
||||
"pos": {
|
||||
"x": 12,
|
||||
"y": 12
|
||||
},
|
||||
"width": 262,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
"borderRadius": 0,
|
||||
"fill": "#F7F8FE",
|
||||
"stroke": "#0D32B2",
|
||||
"shadow": false,
|
||||
"3d": false,
|
||||
"multiple": false,
|
||||
"double-border": false,
|
||||
"tooltip": "",
|
||||
"link": "",
|
||||
"icon": null,
|
||||
"iconPosition": "",
|
||||
"blend": false,
|
||||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "teamwork: having someone to blame",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "",
|
||||
"color": "#0A0F25",
|
||||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 262,
|
||||
"labelHeight": 21,
|
||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||
"zIndex": 0,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"connections": []
|
||||
}
|
||||
52
e2etests/testdata/regression/just-width/elk/sketch.exp.svg
vendored
Normal file
52
e2etests/testdata/regression/just-width/elk/sketch.exp.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 324 KiB |
32
e2etests/testdata/stable/people/dagre/board.exp.json
generated
vendored
32
e2etests/testdata/stable/people/dagre/board.exp.json
generated
vendored
|
|
@ -6,7 +6,7 @@
|
|||
"id": "a",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1054,
|
||||
"x": 1077,
|
||||
"y": 257
|
||||
},
|
||||
"width": 49,
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
"id": "b",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1163,
|
||||
"x": 1186,
|
||||
"y": 257
|
||||
},
|
||||
"width": 64,
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
"id": "c",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1287,
|
||||
"x": 1310,
|
||||
"y": 257
|
||||
},
|
||||
"width": 89,
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
"id": "d",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1436,
|
||||
"x": 1459,
|
||||
"y": 243
|
||||
},
|
||||
"width": 142,
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
"id": "e",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1638,
|
||||
"x": 1661,
|
||||
"y": 209
|
||||
},
|
||||
"width": 245,
|
||||
|
|
@ -211,7 +211,7 @@
|
|||
"id": "f",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 1943,
|
||||
"x": 1966,
|
||||
"y": 139
|
||||
},
|
||||
"width": 453,
|
||||
|
|
@ -252,7 +252,7 @@
|
|||
"id": "g",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2456,
|
||||
"x": 2479,
|
||||
"y": 0
|
||||
},
|
||||
"width": 870,
|
||||
|
|
@ -294,10 +294,10 @@
|
|||
"type": "person",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 280
|
||||
"y": 260
|
||||
},
|
||||
"width": 18,
|
||||
"height": 21,
|
||||
"width": 41,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
|
|
@ -334,11 +334,11 @@
|
|||
"id": "2",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 78,
|
||||
"y": 269
|
||||
"x": 101,
|
||||
"y": 260
|
||||
},
|
||||
"width": 64,
|
||||
"height": 43,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
|
|
@ -375,7 +375,7 @@
|
|||
"id": "3",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 202,
|
||||
"x": 225,
|
||||
"y": 248
|
||||
},
|
||||
"width": 128,
|
||||
|
|
@ -416,7 +416,7 @@
|
|||
"id": "4",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 390,
|
||||
"x": 413,
|
||||
"y": 120
|
||||
},
|
||||
"width": 512,
|
||||
|
|
@ -457,7 +457,7 @@
|
|||
"id": "5",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 962,
|
||||
"x": 985,
|
||||
"y": 162
|
||||
},
|
||||
"width": 32,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 329 KiB |
18
e2etests/testdata/stable/people/elk/board.exp.json
generated
vendored
18
e2etests/testdata/stable/people/elk/board.exp.json
generated
vendored
|
|
@ -294,10 +294,10 @@
|
|||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2064,
|
||||
"y": 291
|
||||
"y": 271
|
||||
},
|
||||
"width": 18,
|
||||
"height": 21,
|
||||
"width": 41,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
|
|
@ -334,11 +334,11 @@
|
|||
"id": "2",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2102,
|
||||
"y": 280
|
||||
"x": 2125,
|
||||
"y": 271
|
||||
},
|
||||
"width": 64,
|
||||
"height": 43,
|
||||
"height": 61,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
"strokeWidth": 2,
|
||||
|
|
@ -375,7 +375,7 @@
|
|||
"id": "3",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2186,
|
||||
"x": 2209,
|
||||
"y": 259
|
||||
},
|
||||
"width": 128,
|
||||
|
|
@ -416,7 +416,7 @@
|
|||
"id": "4",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2334,
|
||||
"x": 2357,
|
||||
"y": 131
|
||||
},
|
||||
"width": 512,
|
||||
|
|
@ -457,7 +457,7 @@
|
|||
"id": "5",
|
||||
"type": "person",
|
||||
"pos": {
|
||||
"x": 2866,
|
||||
"x": 2889,
|
||||
"y": 174
|
||||
},
|
||||
"width": 32,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 329 KiB |
Loading…
Reference in a new issue