From de8d6ff963684d6ef2a6d786520f1fd63e5c1083 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Tue, 13 Dec 2022 13:48:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20U?= =?UTF-8?q?I=E6=94=AF=E6=8C=81=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1010692 --user=张大海 【UI测试】支持与环境管理打通 https://www.tapd.cn/55049933/s/1315234 --- .../commons/ApiScenarioVariables.vue | 140 +- .../environment/commons/MiniTimingItem.vue | 140 ++ .../src/components/form/FormSection.vue | 72 + .../frontend/src/i18n/lang/en-US.js | 340 +++- .../frontend/src/i18n/lang/zh-CN.js | 260 +++- .../frontend/src/i18n/lang/zh-TW.js | 1 + .../controller/remote/UiTestController.java | 29 + .../service/remote/UiTestService.java | 13 + .../menu/environment/EnvironmentList.vue | 2 +- .../components/EnvironmentEdit.vue | 553 +++++++ .../components/EnvironmentHttpConfig.vue | 583 +++++++ .../ui-related/PlanStatusTableItem.vue | 28 + .../components/ui-related/ToggleTabs.vue | 71 + .../ui-related/UiCustomCommandList.vue | 1201 +++++++++++++++ .../ui-related/UiCustomCommandModule.vue | 328 ++++ .../ui-related/UiScenarioCookieTable.vue | 569 +++++++ .../ui-related/UiScenarioEditRelevance.vue | 440 ++++++ .../components/ui-related/UiScenarioList.vue | 1367 +++++++++++++++++ .../ui-related/UiScenarioModule.vue | 289 ++++ .../components/ui-related/ui-scenario.js | 38 + .../frontend/src/i18n/lang/zh-CN.js | 3 + 21 files changed, 6391 insertions(+), 76 deletions(-) create mode 100644 framework/sdk-parent/frontend/src/components/environment/commons/MiniTimingItem.vue create mode 100644 framework/sdk-parent/frontend/src/components/form/FormSection.vue create mode 100644 project-management/backend/src/main/java/io/metersphere/controller/remote/UiTestController.java create mode 100644 project-management/backend/src/main/java/io/metersphere/service/remote/UiTestService.java create mode 100644 project-management/frontend/src/business/menu/environment/components/EnvironmentEdit.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/EnvironmentHttpConfig.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/PlanStatusTableItem.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/ToggleTabs.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiCustomCommandList.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiCustomCommandModule.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiScenarioCookieTable.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiScenarioEditRelevance.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiScenarioList.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/UiScenarioModule.vue create mode 100644 project-management/frontend/src/business/menu/environment/components/ui-related/ui-scenario.js diff --git a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue index 91a9ded583..a91142ef94 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue @@ -18,12 +18,21 @@ :content="$t('commons.import')" @click="importJSON" /> - + placement="bottom" + trigger="hover" + :content="$t('envrionment.export_variable_tip')" + width="300"> + + + + + + +