diff --git a/frontend/src/business/components/api/automation/report/components/MetricChart.vue b/frontend/src/business/components/api/automation/report/components/MetricChart.vue index d73c25a9a9..b4878df4d8 100644 --- a/frontend/src/business/components/api/automation/report/components/MetricChart.vue +++ b/frontend/src/business/components/api/automation/report/components/MetricChart.vue @@ -19,13 +19,15 @@ - + +
{{ content.success }}
{{ $t('api_report.success') }}
- + +
{{ content.error }}
{{ $t('api_report.fail') }}
@@ -42,13 +44,15 @@
{{ content.scenarioTotal ? content.scenarioTotal : 0}}
{{ $t('api_test.scenario.scenario') }}
- + +
{{ content.scenarioSuccess ? content.scenarioSuccess: 0 }}
{{ $t('api_report.success') }}
- + +
{{ content.scenarioError ? content.scenarioError : 0 }}
{{ $t('api_report.fail') }}
@@ -61,13 +65,15 @@
{{ content.scenarioStepTotal ? content.scenarioStepTotal : 0}}
{{ $t('test_track.plan_view.step') }}
- + +
{{ content.scenarioStepSuccess ? content.scenarioStepSuccess: 0 }}
{{ $t('api_report.success') }}
- + +
{{ content.scenarioStepError ? content.scenarioStepError : 0 }}
{{ $t('api_report.fail') }}
@@ -335,4 +341,25 @@ line-height: 110px; text-align: center; } + .ms-point-success { + border-radius: 50%; + height: 12px; + width: 12px; + display: inline-block; + vertical-align: top; + margin-left: 20px; + margin-right: 20px; + background-color : #67C23A; + } + + .ms-point-error { + border-radius: 50%; + height: 12px; + width: 12px; + display: inline-block; + vertical-align: top; + margin-left: 20px; + margin-right: 20px; + background-color : #F56C6C; + }