fix(接口自动化): 修复生成测试报告 失败继续 功能失效问题
This commit is contained in:
parent
4add022e46
commit
05eaf57b11
|
@ -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;
|
||||
|
|
|
@ -724,6 +724,7 @@ export default {
|
|||
type: "scenario",
|
||||
variables: this.currentScenario.variables,
|
||||
referenced: 'Created',
|
||||
onSampleError: this.onSampleError,
|
||||
enableCookieShare: this.enableCookieShare,
|
||||
headers: this.currentScenario.headers,
|
||||
environmentMap: this.projectEnvMap,
|
||||
|
|
Loading…
Reference in New Issue