Skip to content

Commit

Permalink
feat: 支持新增元素控件前测试点击事件--修复debug控件时,日志没有控件名称的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungHoiChiu committed Sep 4, 2024
1 parent 6716d88 commit be0fcc6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ private JSONObject generateStep(JSONObject jsonMsg, String msg) {
StepsDTO stepsDTO = new StepsDTO();
ElementsDTO elementsDTO = new ElementsDTO();
elementsDTO.setEleType(jsonMsg.getString("eleType"))
.setEleValue(jsonMsg.getString("element"));
.setEleValue(jsonMsg.getString("element"))
.setEleName("定位控件测试");
List<ElementsDTO> elements = new ArrayList<>();
elements.add(elementsDTO);
String stepType = jsonMsg.getString("eleType").equals("point") ? "tap" : "click";
Expand Down

0 comments on commit be0fcc6

Please sign in to comment.