refactor(接口测试): 优化报告中场景断言的状态的显示
--bug=1028210 --user=王孝刚 【接口测试】场景详情-生成报告-场景断言执行成功结果显示为pending https://www.tapd.cn/55049933/s/1400970
This commit is contained in:
parent
b0371abe56
commit
14081684d6
|
@ -27,7 +27,7 @@
|
||||||
:status="node.totalStatus"
|
:status="node.totalStatus"
|
||||||
v-if="
|
v-if="
|
||||||
node.type !== 'ConstantTimer' &&
|
node.type !== 'ConstantTimer' &&
|
||||||
node.type !== 'Assertion' &&
|
node.type !== 'Assertions' &&
|
||||||
node.children
|
node.children
|
||||||
" />
|
" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,7 +95,7 @@ export default {
|
||||||
return this.$t('api_test.automation.wait_controller');
|
return this.$t('api_test.automation.wait_controller');
|
||||||
case 'LoopController':
|
case 'LoopController':
|
||||||
return this.$t('api_test.automation.loop_controller');
|
return this.$t('api_test.automation.loop_controller');
|
||||||
case 'Assertion':
|
case 'Assertions':
|
||||||
return this.$t('api_test.definition.request.scenario_assertions');
|
return this.$t('api_test.definition.request.scenario_assertions');
|
||||||
case 'IfController':
|
case 'IfController':
|
||||||
return this.$t('api_test.automation.if_controller');
|
return this.$t('api_test.automation.if_controller');
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
<ms-api-report-status :status="node.totalStatus" v-if="node.type !=='ConstantTimer' && node.type !=='Assertion'
|
<ms-api-report-status :status="node.totalStatus" v-if="node.type !=='ConstantTimer' && node.type !=='Assertions'
|
||||||
&& node.children && node.children.length > 0"/>
|
&& node.children && node.children.length > 0"/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -93,7 +93,7 @@ export default {
|
||||||
return this.$t('api_test.automation.wait_controller');
|
return this.$t('api_test.automation.wait_controller');
|
||||||
case 'LoopController':
|
case 'LoopController':
|
||||||
return this.$t('api_test.automation.loop_controller');
|
return this.$t('api_test.automation.loop_controller');
|
||||||
case 'Assertion':
|
case 'Assertions':
|
||||||
return this.$t('api_test.definition.request.scenario_assertions');
|
return this.$t('api_test.definition.request.scenario_assertions');
|
||||||
case 'IfController':
|
case 'IfController':
|
||||||
return this.$t('api_test.automation.if_controller');
|
return this.$t('api_test.automation.if_controller');
|
||||||
|
|
Loading…
Reference in New Issue