写了个断言,一直不成功。日志里看到run steps failed了,但是打开报告,显示还是成功。我初步怀疑是我yaml写错了,老师帮我看一下,谢谢。
testcase:
name: "TesterHome AppCrawler"
steps:
- given: []
when: null
xpath: //*[@resource-id="com.xxxx.xxxxt:id/module_name_view"][@text="xxxx"]
action: click
times: 200
then:
- //*[contains(@text, '你找不到我')]