From 326e21292f427f7320823e0bc632778b948f3afd Mon Sep 17 00:00:00 2001
From: fanzhuxian <17826840660@139.com>
Date: Mon, 28 Apr 2025 09:31:05 +0800
Subject: [PATCH] =?UTF-8?q?add=20=EF=BC=9A=E8=87=AA=E5=8A=A8=E5=8C=96=20-?=
=?UTF-8?q?=20=E6=89=A7=E8=A1=8Capi?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
test-ui/src/api/uiTest/automationTest.js | 14 +-
.../src/views/test/uiTest/automationTest.vue | 14 +-
test-ui/src/views/test/uiTest/editScene.vue | 201 +++++++++++++++++-
3 files changed, 220 insertions(+), 9 deletions(-)
diff --git a/test-ui/src/api/uiTest/automationTest.js b/test-ui/src/api/uiTest/automationTest.js
index afdfcd5..abf2632 100644
--- a/test-ui/src/api/uiTest/automationTest.js
+++ b/test-ui/src/api/uiTest/automationTest.js
@@ -36,10 +36,18 @@ export function updateAutomation(data) {
}
// 自动化 - 详情
-
export function getAutomationDetail(data) {
return request({
- url: '/test/automation/getInfo' + data,
+ url: '/test/automation/getInfo/' + data,
method: 'get',
})
-}
\ No newline at end of file
+}
+
+// 自动化 - 执行
+export function executeAutomationData(query) {
+ return request({
+ url: '/test/automation/executeStep',
+ method: 'get',
+ params: query,
+ })
+}
diff --git a/test-ui/src/views/test/uiTest/automationTest.vue b/test-ui/src/views/test/uiTest/automationTest.vue
index 807ffec..51ef9bf 100644
--- a/test-ui/src/views/test/uiTest/automationTest.vue
+++ b/test-ui/src/views/test/uiTest/automationTest.vue
@@ -44,7 +44,7 @@
编辑
查看
+ style="color: green;">执行
删除
@@ -58,7 +58,7 @@
-
+