macacajs / NoSmoke

A cross platform UI crawler which scans view trees then generate and execute UI test cases.
https://macacajs.github.io/NoSmoke
MIT License
199 stars 58 forks source link

test no smoke on ios simulator #103

Closed xiaoyue10131748 closed 2 years ago

xiaoyue10131748 commented 2 years ago

运行这行命令 nosmoke -h demo/hook.js -c demo/crawler.config.yml --verbose --server http://127.0.01:3456, 可是nosmoke 并没有调用起模拟器执行。 请问可能出现的问题在哪呢?(恳求大佬指教)

server.js:15:12 [master] pid:69330 server start with config: { port: 5678, verbose: true, hooks: 'demo/hook.js', config: 'demo/crawler.config.yml', server: 'http://127.0.01:3456', ip: '192.168.1.163', host: 'RuideMBP.attlocal.net', loaded_time: '2022-02-19 23:58:05' } udid: undefined config loaded: {"testingPeriod":1800,"testingDepth":8,"takeScreenShot":true,"newCommandTimeout":2,"launchTimeout":3,"packages":".*","maxActionPerPage":15,"asserts":[],"targetElements":{},"exclusivePattern":"","platform":"ios","clickTypes":[],"editTypes":[],"horizontalScrollTypes":[],"verticalScrollTypes":[],"tabBarTypes":[],"exclusiveTypes":[],"blacklist":[],"strategy":"ocr","depth":100,"duration":1800,"triggers":[],"exclude":[],"deviceType":"iPhone 8","configFile":"demo/crawler.config.yml"}

xiaoyue10131748 commented 2 years ago

直接运行nosmoke 可解决上面那个问题