提交 2f24ca71 编写于 作者: Z zhaoke

* Add restart unit test button

上级 ff83898e
......@@ -8,9 +8,12 @@
:label="t('re_exec_all')"
type="button"
/>
<Button @click="exec('fail')" class="space-left state primary">{{
<Button v-if="reportRef.testType != 'unit'" @click="exec('fail')" class="space-left state primary">{{
t("re_exec_failed")
}}</Button>
<Button v-else @click="exec('fail')" class="space-left state primary">{{
t("re_exec_unit")
}}</Button>
<Button
v-if="currProduct.id"
......
......@@ -105,6 +105,7 @@ export default {
're_exec': 'Retest',
're_exec_all': 'Retest All Cases',
're_exec_failed': 'Retest Failed Cases',
're_exec_unit': 'Retest Unit Test',
'test_env': 'Test Environment',
'test_type': 'Test Type',
'exec_type': 'Execution Type',
......
......@@ -114,6 +114,7 @@ export default {
're_exec': '重新执行',
're_exec_all': '重新执行所有用例',
're_exec_failed': '重新执行失败用例',
're_exec_unit': '重新执行单元测试',
'test_env': '测试环境',
'test_type': '测试类型',
'exec_type': '执行类型',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册