fix(接口测试): 修复事物控制器多层嵌套结果错误问题
--bug=1014984 --user=赵勇 [接口测试]github#15873]事务控制器下添加事务控制器,场景调试内层事务控制器下步骤调试一直测试中,测试报告显示未执行 https://www.tapd.cn/55049933/s/1203905
This commit is contained in:
parent
316ea534b2
commit
11e2d5985f
|
@ -939,7 +939,7 @@ export default {
|
||||||
if (data.method === 'Request' && data.subRequestResults && data.subRequestResults.length > 0) {
|
if (data.method === 'Request' && data.subRequestResults && data.subRequestResults.length > 0) {
|
||||||
data.subRequestResults.forEach(subItem => {
|
data.subRequestResults.forEach(subItem => {
|
||||||
if (item.data && item.data.id + "_" + item.data.parentIndex === subItem.resourceId) {
|
if (item.data && item.data.id + "_" + item.data.parentIndex === subItem.resourceId) {
|
||||||
subItem.requestResult.console = data.responseResult.console;
|
subItem.responseResult.console = data.responseResult.console;
|
||||||
item.data.requestResult.push(subItem);
|
item.data.requestResult.push(subItem);
|
||||||
// 更新父节点状态
|
// 更新父节点状态
|
||||||
this.resultEvaluation(subItem.resourceId, subItem.success);
|
this.resultEvaluation(subItem.resourceId, subItem.success);
|
||||||
|
|
Loading…
Reference in New Issue