fix(UI 自动化): UI报告-场景/步骤统计无未执行状态
--bug=1014216 --user=张大海 【UI测试】UI报告-场景/步骤统计无未执行状态 https://www.tapd.cn/55049933/s/1186977
This commit is contained in:
parent
4f4e5a56e7
commit
03a5068250
|
@ -111,14 +111,22 @@
|
|||
<div class="value">{{ content.scenarioStepErrorReport ? content.scenarioStepErrorReport : 0 }}</div>
|
||||
<div class="name">{{ $t('error_report_library.option.name') }}</div>
|
||||
</div>
|
||||
<span v-show="showUnExecuteReport" class="ms-point-unexecute" />
|
||||
<div v-show="showUnExecuteReport" class="metric-box">
|
||||
<span v-show="showUnExecuteReport && !isUi" class="ms-point-unexecute"/>
|
||||
<div v-show="showUnExecuteReport && !isUi" class="metric-box">
|
||||
<div class="value">{{
|
||||
content.scenarioStepUnExecuteReport ? content.scenarioStepUnExecuteReport : 0
|
||||
}}
|
||||
</div>
|
||||
<div class="name">{{ $t('api_test.home_page.detail_card.unexecute') }}</div>
|
||||
</div>
|
||||
<span v-show="showUnExecuteReport && isUi" class="ms-point-unexecute"/>
|
||||
<div v-show="showUnExecuteReport && isUi" class="metric-box">
|
||||
<div class="value">{{
|
||||
content.unExecute ? content.unExecute : 0
|
||||
}}
|
||||
</div>
|
||||
<div class="name">{{ $t('api_test.home_page.detail_card.unexecute') }}</div>
|
||||
</div>
|
||||
</el-row>
|
||||
</el-row>
|
||||
</div>
|
||||
|
@ -293,8 +301,8 @@ export default {
|
|||
},
|
||||
showUnExecuteReport() {
|
||||
return (this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0)
|
||||
|| (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0);
|
||||
}
|
||||
|| (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0) || (this.content.unExecute && this.content.unExecute > 0);
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue