fix(接口定义): 修复部分缺陷

This commit is contained in:
fit2-zhao 2020-12-17 12:15:20 +08:00
parent a6876c8516
commit 1c184a3865
6 changed files with 6 additions and 9 deletions

View File

@ -67,6 +67,7 @@ public class MsAssertions extends MsTestElement {
assertion.setProperty(TestElement.TEST_CLASS, ResponseAssertion.class.getName());
assertion.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("AssertionGui"));
assertion.setAssumeSuccess(assertionRegex.isAssumeSuccess());
assertion.addTestString(assertionRegex.getExpression());
assertion.setToContainsType();
switch (assertionRegex.getSubject()) {
case "Response Code":

View File

@ -167,8 +167,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();

View File

@ -141,8 +141,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();

View File

@ -204,8 +204,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();

View File

@ -195,8 +195,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();

@ -1 +1 @@
Subproject commit 010ad7a5f072a5e9d368c756a2473bbd20781433
Subproject commit d39dafaf84b9c7a56cb51f2caf67dd7dfde5938c