fix(接口测试): 【接口测试】同一个场景,调试的报告和测试报告详情,两边结果不一致

--bug=1013740 --user=宋天阳 【接口测试】同一个场景,调试的报告和测试报告详情,两边结果不一致
https://www.tapd.cn/55049933/s/1171409
This commit is contained in:
song-tianyang 2022-06-01 15:07:56 +08:00 committed by TIanyang
parent 3694cd78ef
commit dd09fcbece
2 changed files with 3 additions and 10 deletions

View File

@ -362,10 +362,6 @@ export default {
this.content.console = report.console;
this.content.error = report.error;
let successCount = (report.total - report.error - report.errorCode - report.unExecute);
if (successCount >= report.unExecute) {
//
successCount = successCount - report.unExecute;
}
this.content.success = successCount;
this.totalTime = report.totalTime;
}
@ -415,11 +411,7 @@ export default {
this.fullTreeNodes = report.steps;
this.content.console = report.console;
this.content.error = report.error;
let successCount = (report.total - report.error - report.errorCode);
if (successCount >= report.unExecute) {
//
successCount = successCount - report.unExecute;
}
let successCount = (report.total - report.error - report.errorCode - report.unExecute);
this.content.success = successCount;
this.totalTime = report.totalTime;
}

View File

@ -308,7 +308,8 @@ export default {
this.content = {scenarios: []};
}
this.content.error = this.content.error;
this.content.success = (this.content.total - this.content.error - this.content.errorCode);
this.content.success = (this.content.total - this.content.error - this.content.errorCode - this.content.unExecute);
this.totalTime = this.content.totalTime;
this.fullTreeNodes = this.content.steps;
this.recursiveSorting(this.fullTreeNodes);