Cobb
Cobb
希望seldom框架能支持APP自动化测试,改造一下依赖appium完成APP自动化测试
solox==2.7.2 -- - Jinja2 [required: ==3.0.1, installed: 3.1.2] | - tidevice [required: ==0.9.7, installed: 0.11.0]
1.用例执行前先去调用了login的方法,这个方法里包含login接口请求; 2.然而请求时会调用`cache.get("headers")`,但此时还没有去执行用例导致获取到的为空 3.然而在登录接口中我传递了headers,导致会走到venv/Lib/site-packages/aomaker/base/base_api.py里的183-186行: ``` if new_headers: headers = self._headers headers.update(new_headers) payload["headers"] = new_headers ``` 4.由于self._headers为None,就会报错:`AttributeError: 'NoneType' object has no attribute 'update'` 5.所以,我建议在base_api.py的163行获取headers时,给一个默认值:{} 如:`self._headers = self.cache.get('headers') if self.cache.get('headers') is not None...
在site-packages\aomaker\base\base_api.py文件中,第70-98行中看到会强制判断状态码≥400时直接抛出失败,因为我们可能会对单接口进行校验,当断言状态码==400时才是用例通过,所以这里可以设计为不要进行状态码400断言吗?  而且这里如果400掐断了后,正常接口返回一些message就看不到了
**Smartphone (please complete the following information):** - Device: iPhone 11 Pro - OS: iOS14.4 - Pyidevice Version : 2.4.12 **Describe the bug** 通过`pyidevice instruments monitor --filter=memory`命令拿到的内存信息很奇怪 ``` Memory >> {'App...
**Smartphone (please complete the following information):** - Device: [e.g. iPhone14] - OS: [e.g. iOS16] - Pyidevice Version [e.g. 2.3.2] **Describe the bug** A clear and concise description of what the...
启动运行都正常,但运行个几分钟,它就自己退出了,不清楚原因,很困扰;手机重启后又运行几分钟后又出现这样的问题 [I 241010 19:28:19 _device:1182] xctrunner quited with result: [W 241010 19:28:19 _device:950] WebDriverAgentRunner quitted wda:1.4.7 requests:2.26.0 Python:3.10.11 求大佬指点~
### Search before asking - [X] I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。 ### Sonic version 最新 ### Deploy platform Linux 64 ### Minimal reproduce step...