We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)
(重要!问题分类)
描述问题bug 在VIVO X90,VIVO IQOO Neo6使用minicap的截屏方式,执行touch,exists等需要截屏的命令时,未识别到屏幕翻转。 发现在airtest.core.android.android的screen_proxy方法中,没有将rotation_watcher=self.rotation_watcher传入,导致无法响应翻转的回调方法update_rotation。 增加翻转回调之后,继续发现airtest.core.android.adb的getDisplayOrientation方法需要更新。 我手上VIVO X90和VIVO IQOO Neo6这两台设备无法获取翻转后的截图,需要修改进行匹配的正则表达式和匹配结果。
(在这里粘贴traceback或其他报错信息)
相关截图 (贴出遇到问题时的截图内容,如果有的话) (在AirtestIDE里产生的图像和设备相关的问题,请贴一些AirtestIDE控制台黑窗口相关报错信息)
复现步骤
预期效果 正常翻转
python 版本: python3.10
python3.10
airtest 版本: 1.0.69
1.0.69
airtest版本通过pip freeze可以命令可以查到
pip freeze
设备:
其他相关环境信息 (其他运行环境,例如在linux ubuntu16.04上运行异常,在windows上正常。)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)
(重要!问题分类)
描述问题bug
在VIVO X90,VIVO IQOO Neo6使用minicap的截屏方式,执行touch,exists等需要截屏的命令时,未识别到屏幕翻转。
发现在airtest.core.android.android的screen_proxy方法中,没有将rotation_watcher=self.rotation_watcher传入,导致无法响应翻转的回调方法update_rotation。
增加翻转回调之后,继续发现airtest.core.android.adb的getDisplayOrientation方法需要更新。
我手上VIVO X90和VIVO IQOO Neo6这两台设备无法获取翻转后的截图,需要修改进行匹配的正则表达式和匹配结果。
相关截图
(贴出遇到问题时的截图内容,如果有的话)
(在AirtestIDE里产生的图像和设备相关的问题,请贴一些AirtestIDE控制台黑窗口相关报错信息)
复现步骤
预期效果
正常翻转
python 版本:
python3.10
airtest 版本:
1.0.69
设备:
其他相关环境信息
(其他运行环境,例如在linux ubuntu16.04上运行异常,在windows上正常。)
The text was updated successfully, but these errors were encountered: