fix(UI自动化): 修复运行场景报错

--bug=1013824 --user=刘瑶 【UI测试】chrome-ide录制调试好的场景导入到ms执行-本地调试-弹出提示执行失败-然后继续执行-最后结果执行成功 https://www.tapd.cn/55049933/s/1174197
This commit is contained in:
nathan.liu 2022-06-06 18:55:09 +08:00 committed by f2c-ci-robot[bot]
parent 31b48a29f6
commit 65f8b5d8a5
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit e80e81385c96cec23cd29949693e91b63a648fa3 Subproject commit a1261a0f08e592a4a7aeeb95978ca9d5995daf32

View File

@ -86,7 +86,7 @@ export default {
url = '/ui/automation/run/debug'; url = '/ui/automation/run/debug';
} }
saveScenario(url, reqObj, this.runData.hashTree, this, (response) => { saveScenario(url, reqObj, this.runData.hashTree, this, (response) => {
if(response.data !== "SUCCESS"){ if(!response.success && response.data !== "SUCCESS"){
this.$error(response.data ? response.data : this.$t('commons.run_fail')); this.$error(response.data ? response.data : this.$t('commons.run_fail'));
this.$emit('errorRefresh'); this.$emit('errorRefresh');
} }

@ -1 +1 @@
Subproject commit ae2ca63413597229e4e5d0ae1ea613544db1ed9d Subproject commit 52a191d0d22204a47ce6142af036b51198f89652