refactor(测试跟踪): 优化失败重跑默认次数

--bug=1014530 --user=王孝刚 【测试跟踪】测试计划其他配置的顺序参考原型;失败重试重试默认1次
https://www.tapd.cn/55049933/s/1193258
This commit is contained in:
wxg0103 2022-07-01 17:00:31 +08:00 committed by f2c-ci-robot[bot]
parent 89f3054cb3
commit 74b0d0493e
2 changed files with 17 additions and 9 deletions

View File

@ -32,10 +32,7 @@
<span class="ms-mode-span">{{ $t("run_mode.other_config") }}</span>
</el-col>
<el-col :span="18">
<div>
<el-checkbox v-model="runConfig.onSampleError">{{ $t("api_test.fail_to_stop") }}</el-checkbox>
</div>
<div v-if="testType === 'API'" style="padding-top: 10px">
<div v-if="testType === 'API'">
<el-checkbox v-model="runConfig.runWithinResourcePool" style="padding-right: 10px;">
{{ $t('run_mode.run_with_resource_pool') }}
</el-checkbox>
@ -91,7 +88,8 @@
</el-tooltip>
<span>
{{ $t('run_mode.retry') }}
<el-input-number v-model="runConfig.retryNum" :min="1" :max="10000000" size="mini"/>
<el-input-number :value="runConfig.retryNum" v-model="runConfig.retryNum" :min="1" :max="10000000"
size="mini"/>
&nbsp;
{{ $t('run_mode.retry_frequency') }}
</span>
@ -99,6 +97,15 @@
</el-col>
</el-row>
</div>
<div class="ms-failure-div" v-if="runConfig.mode === 'serial'">
<el-row>
<el-col :span="18" :offset="6">
<div>
<el-checkbox v-model="runConfig.onSampleError">{{ $t("api_test.fail_to_stop") }}</el-checkbox>
</div>
</el-col>
</el-row>
</div>
<template v-slot:footer>
<div class="dialog-footer" v-if="showSave">

View File

@ -121,7 +121,8 @@
</el-tooltip>
<span>
{{ $t('run_mode.retry') }}
<el-input-number v-model="runConfig.retryNum" :min="1" :max="10000000" size="mini"/>
<el-input-number :value="runConfig.retryNum" v-model="runConfig.retryNum" :min="1" :max="10000000"
size="mini"/>
&nbsp;
{{ $t('run_mode.retry_frequency') }}
</span>