fix(接口自动化): 修复生成测试报告 失败继续 功能失效问题
This commit is contained in:
parent
516eecae2e
commit
fde4c3c9d6
|
@ -309,7 +309,7 @@ public abstract class MsTestElement {
|
|||
}
|
||||
|
||||
public String getFullIndexPath(MsTestElement element, String path) {
|
||||
if (element.getParent() == null) {
|
||||
if (element == null || element.getParent() == null) {
|
||||
return path;
|
||||
}
|
||||
path = element.getIndex() + "_" + path;
|
||||
|
|
|
@ -663,6 +663,7 @@ export default {
|
|||
enableCookieShare: this.enableCookieShare,
|
||||
headers: this.currentScenario.headers,
|
||||
environmentMap: this.projectEnvMap,
|
||||
onSampleError: this.onSampleError,
|
||||
hashTree: this.scenarioDefinition
|
||||
};
|
||||
this.reportId = getUUID().substring(0, 8);
|
||||
|
|
Loading…
Reference in New Issue