diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 6fad8a3747..0ec0ed30c3 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -336,6 +336,7 @@ export default { tip: this.$t('api_test.automation.execute'), icon: "el-icon-video-play", exec: this.execute, + class: "run-button", permissions: ['PROJECT_API_SCENARIO:READ+RUN'] }, { diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index e9c2f29012..bab622424c 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -64,7 +64,7 @@ + class="run-button" size="mini" :disabled="!apiCase.id" circle/> diff --git a/frontend/src/common/css/main.css b/frontend/src/common/css/main.css index 6707dee359..8179bca490 100644 --- a/frontend/src/common/css/main.css +++ b/frontend/src/common/css/main.css @@ -287,4 +287,5 @@ textarea { .run-button .el-button { background-color: #409EFF; border-color: #409EFF; + color: white; }