问题描述:(标题也加上版本号哦)
Server版本:1.4.1
Agent版本与部署方式:1.4.1,jar 方式
手机型号与系统版本:iPhone SE2,15.5
截图:
创建 if 条件判断:

用例步骤:

执行结果:

发现即使 if 验证失败了,else 中的内容也不会执行(可以在执行日志中看到,else 也跳过了)。
是我的使用方法不对吗?求助大佬。
相关日志:
2022-07-04 11:12:20.672 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"点击iOS.DSL.我","log":"点击xpath: //*[@name='我' or @label='我']","time":"11:12:20","rid":0,"udId":"00008030-001C30381A23402E","status":2,"cid":0}
2022-07-04 11:12:21.674 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"强制等待","log":"等待1000 ms","time":"11:12:21","rid":0,"udId":"00008030-001C30381A23402E","status":2,"cid":0}
2022-07-04 11:12:21.675 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"开始执行「if」步骤","log":"","time":"11:12:21","rid":0,"udId":"00008030-001C30381A23402E","status":2,"cid":0}
2022-07-04 11:12:52.038 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤「判断控件 iOS.DSL.设置你的状态 是否存在」异常","log":"期望值:存在","time":"11:12:52","rid":0,"udId":"00008030-001C30381A23402E","status":4,"cid":0}
2022-07-04 11:12:52.039 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"","log":"异常信息: java.lang.AssertionError: expected [true] but found [false]","time":"11:12:52","rid":0,"udId":"00008030-001C30381A23402E","status":3,"cid":0}
2022-07-04 11:12:52.039 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「if」步骤执行失败,跳过","log":"","time":"11:12:52","rid":0,"udId":"00008030-001C30381A23402E","status":3,"cid":0}
2022-07-04 11:12:52.039 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"step","des":"「else」前的条件步骤执行通过,「else」跳过","log":"","time":"11:12:52","rid":0,"udId":"00008030-001C30381A23402E","status":3,"cid":0}
2022-07-04 11:12:52.040 - INFO 10645 --- [ios-run-step-task-0-155-00008030-001C30381A23402E] org.cloud.sonic.agent.tests.LogUtil : {"msg":"status","des":"","log":"","time":"11:12:52","rid":0,"udId":"00008030-001C30381A23402E","status":1,"cid":0}