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