chore: new testcases
This commit is contained in:
parent
efcebb3552
commit
39419f221f
5 changed files with 192 additions and 6 deletions
|
|
@ -39,6 +39,20 @@ func testStable(t *testing.T) {
|
||||||
border-radius: 10
|
border-radius: 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
c: {
|
||||||
|
shape: class
|
||||||
|
style: {
|
||||||
|
border-radius: 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
d: {
|
||||||
|
shape: sql_table
|
||||||
|
style: {
|
||||||
|
border-radius: 5
|
||||||
|
}
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
86
e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json
generated
vendored
86
e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json
generated
vendored
|
|
@ -213,6 +213,92 @@
|
||||||
"primaryAccentColor": "B2",
|
"primaryAccentColor": "B2",
|
||||||
"secondaryAccentColor": "AA2",
|
"secondaryAccentColor": "AA2",
|
||||||
"neutralAccentColor": "N2"
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "c",
|
||||||
|
"type": "class",
|
||||||
|
"pos": {
|
||||||
|
"x": 966,
|
||||||
|
"y": 46
|
||||||
|
},
|
||||||
|
"width": 117,
|
||||||
|
"height": 92,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 5,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "c",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 12,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "d",
|
||||||
|
"type": "sql_table",
|
||||||
|
"pos": {
|
||||||
|
"x": 1143,
|
||||||
|
"y": 74
|
||||||
|
},
|
||||||
|
"width": 50,
|
||||||
|
"height": 36,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 5,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "d",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 13,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [],
|
"connections": [],
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 513 KiB After Width: | Height: | Size: 515 KiB |
86
e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json
generated
vendored
86
e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json
generated
vendored
|
|
@ -213,6 +213,92 @@
|
||||||
"primaryAccentColor": "B2",
|
"primaryAccentColor": "B2",
|
||||||
"secondaryAccentColor": "AA2",
|
"secondaryAccentColor": "AA2",
|
||||||
"neutralAccentColor": "N2"
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "c",
|
||||||
|
"type": "class",
|
||||||
|
"pos": {
|
||||||
|
"x": 898,
|
||||||
|
"y": 58
|
||||||
|
},
|
||||||
|
"width": 117,
|
||||||
|
"height": 92,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 5,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "c",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 12,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "d",
|
||||||
|
"type": "sql_table",
|
||||||
|
"pos": {
|
||||||
|
"x": 1035,
|
||||||
|
"y": 86
|
||||||
|
},
|
||||||
|
"width": 50,
|
||||||
|
"height": 36,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 5,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "d",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 13,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [],
|
"connections": [],
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 513 KiB After Width: | Height: | Size: 515 KiB |
Loading…
Reference in a new issue