This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
@@ -0,0 +1,28 @@
{
"name": "connections",
"description": "组件连接(Connection)测试",
"type": "create_architecture",
"params": {
"title": "连接测试",
"components": [
{"name": "Frontend", "type": "frontend", "x": 100, "y": 100},
{"name": "Backend", "type": "backend", "x": 300, "y": 100},
{"name": "DB", "type": "database", "x": 500, "y": 100}
],
"connections": [
{"from": "Frontend", "to": "Backend", "style": "solid", "label": "API"},
{"from": "Backend", "to": "DB", "style": "dashed", "label": "SQL"}
],
"output": "__TMP__/04_connections.svg",
"format": "svg"
},
"assertions": [
{"check": "not_empty"},
{"check": "contains", "text": "Frontend"},
{"check": "contains", "text": "Backend"},
{"check": "contains", "text": "DB"},
{"check": "contains", "text": "API"},
{"check": "contains", "text": "SQL"},
{"check": "contains_tag", "tag": "<path", "min_count": 2}
]
}