fix(接口测试): 修复循环控制器,事务控制器执行状态错误的缺陷
This commit is contained in:
parent
d3a74dc68d
commit
961aea187e
|
@ -1206,6 +1206,9 @@ export default {
|
||||||
evaluationParent(node, status) {
|
evaluationParent(node, status) {
|
||||||
node.data.testing = false;
|
node.data.testing = false;
|
||||||
node.data.debug = true;
|
node.data.debug = true;
|
||||||
|
if (node.parent && node.parent.data && node.parent.data.id) {
|
||||||
|
this.evaluationParent(node.parent, status);
|
||||||
|
}
|
||||||
if (node.data.code === 'ERROR') {
|
if (node.data.code === 'ERROR') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1219,9 +1222,6 @@ export default {
|
||||||
if (status && status === 'ERROR') {
|
if (status && status === 'ERROR') {
|
||||||
node.data.code = 'ERROR';
|
node.data.code = 'ERROR';
|
||||||
}
|
}
|
||||||
if (node.parent && node.parent.data && node.parent.data.id) {
|
|
||||||
this.evaluationParent(node.parent, status);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
resultEvaluationChild(arr, resourceId, status) {
|
resultEvaluationChild(arr, resourceId, status) {
|
||||||
arr.forEach((item) => {
|
arr.forEach((item) => {
|
||||||
|
|
Loading…
Reference in New Issue