fix(接口测试): 场景步骤没有开启点击执行提示
--bug=1038445 --user=宋昌昌 【接口测试】场景-场景内步骤没有一个开启的-执行场景时给提示「没有开启的步骤」 https://www.tapd.cn/55049933/s/1494715
This commit is contained in:
parent
dffac08451
commit
f06a996871
|
@ -313,6 +313,10 @@
|
|||
}
|
||||
return !!node.enable;
|
||||
});
|
||||
if (waitTingDebugSteps.length === 0) {
|
||||
Message.warning(t('apiScenario.execute.no.step.tips'));
|
||||
return;
|
||||
}
|
||||
realExecute(
|
||||
{
|
||||
steps: waitTingDebugSteps,
|
||||
|
|
|
@ -262,4 +262,5 @@ export default {
|
|||
'apiScenario.schedule.table.tooltip.enable.two': 'Next run time: {time}',
|
||||
'apiScenario.schedule.table.tooltip.disable': 'Scheduled task is disabled',
|
||||
'apiScenario.save.env': 'Scenario Environment',
|
||||
'apiScenario.execute.no.step.tips': 'No open step',
|
||||
};
|
||||
|
|
|
@ -250,4 +250,5 @@ export default {
|
|||
'apiScenario.schedule.table.tooltip.enable.two': '下次运行时间:{time}',
|
||||
'apiScenario.schedule.table.tooltip.disable': '定时任务未开启',
|
||||
'apiScenario.save.env': '场景保存的环境',
|
||||
'apiScenario.execute.no.step.tips': '没有开启的步骤',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue