fix(测试跟踪): 修复功能用例,有的用例不修改信息,点关闭也有保存提示的缺陷
--bug=1010434 --user=王孝刚 【测试跟踪】功能用例,有的用例不修改信息,点关闭也有保存提示 https://www.tapd.cn/55049933/s/1109488
This commit is contained in:
parent
d8258c404e
commit
5c28f0096b
|
@ -354,7 +354,7 @@ name: "TestCaseMinder",
|
|||
nodeId: nodeId,
|
||||
nodePath: getNodePath(nodeId, this.moduleOptions),
|
||||
type: data.type ? data.type : 'functional',
|
||||
method: data.method ? data.method: 'manual',
|
||||
method: data.method ? data.method : 'manual',
|
||||
maintainer: this.testCaseDefaultValue['责任人'] ? this.testCaseDefaultValue['责任人'] : data.maintainer,
|
||||
priority: priorityDefaultValue,
|
||||
prerequisite: "",
|
||||
|
@ -362,7 +362,13 @@ name: "TestCaseMinder",
|
|||
stepDescription: "",
|
||||
expectedResult: "",
|
||||
status: this.testCaseDefaultValue['用例状态'],
|
||||
steps: "[]"
|
||||
steps: [{
|
||||
num: 1,
|
||||
desc: '',
|
||||
result: ''
|
||||
}],
|
||||
tags: "[]",
|
||||
stepModel: "STEP"
|
||||
};
|
||||
if (data.changed) isChange = true;
|
||||
let steps = [];
|
||||
|
|
Loading…
Reference in New Issue