完善端口标号与MECMAS21动态图标
This commit is contained in:
1 parent
df1d676131
commit
09778972a6
7 files changed
+780
-60
No files matched your search
@@ -20,6 +20,12 @@ test("未知图形元件使用带端口和名称的默认节点,并将动作
|
||||
await expect(node.locator(".node-symbol-anchor")).toHaveCount(0);
|
||||
await expect(node.locator(".node-label")).toHaveText("generic_sensor_1");
|
||||
await expect(node.locator(".port-handle")).toHaveCount(2);
|
||||
await expect(
|
||||
node.locator('.port-index-label[data-port-name="port_a"]'),
|
||||
).toHaveText("1");
|
||||
await expect(
|
||||
node.locator('.port-index-label[data-port-name="port_b"]'),
|
||||
).toHaveText("2");
|
||||
|
||||
const consolePanel = page.getByRole("complementary", {
|
||||
name: "仿真控制台",
|
||||
|
||||
Reference in new issue
Block a user