mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-06 05:58:46 +08:00
feat(测试跟踪): 导出用例,备注显示文本框名字
This commit is contained in:
parent
628a99f697
commit
4359861a50
@ -392,12 +392,21 @@ public class TestCaseService {
|
|||||||
} else if (t.getMethod().equals("auto") && t.getType().equals("api")) {
|
} else if (t.getMethod().equals("auto") && t.getType().equals("api")) {
|
||||||
data.setStepDesc("");
|
data.setStepDesc("");
|
||||||
data.setStepResult("");
|
data.setStepResult("");
|
||||||
|
if(t.getTestId().equals("other")){
|
||||||
|
data.setRemark(t.getOtherTestName());
|
||||||
|
}else{
|
||||||
data.setRemark(t.getApiName());
|
data.setRemark(t.getApiName());
|
||||||
|
}
|
||||||
|
|
||||||
} else if (t.getMethod().equals("auto") && t.getType().equals("performance")) {
|
} else if (t.getMethod().equals("auto") && t.getType().equals("performance")) {
|
||||||
data.setStepDesc("");
|
data.setStepDesc("");
|
||||||
data.setStepResult("");
|
data.setStepResult("");
|
||||||
|
if(t.getTestId().equals("other")){
|
||||||
|
data.setRemark(t.getOtherTestName());
|
||||||
|
}else{
|
||||||
data.setRemark(t.getPerformName());
|
data.setRemark(t.getPerformName());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
data.setMaintainer(t.getMaintainer());
|
data.setMaintainer(t.getMaintainer());
|
||||||
list.add(data);
|
list.add(data);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user