错误日志:====================case num:1, failed num:0, error num:1====================
FirstTest:test_get_system_info has error:
Traceback (most recent call last):
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\framework\libs\unittest\case.py", line 265, in testPartExecutor
yield
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\framework\libs\unittest\case.py", line 341, in run
self._miniSetUp()
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\framework\minitest.py", line 416, in _miniSetUp
self.app.go_home()
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\minium_log.py", line 172, in wrapper
result = func(*args, **kwargs)
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\app.py", line 838, in go_home
page = self.switch_tab(
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\minium_log.py", line 172, in wrapper
result = func(*args, **kwargs)
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\utils\utils.py", line 82, in wrapper
ret = func(*args, **kwargs)
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\app.py", line 767, in switch_tab
page = self._change_route_async(
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\app.py", line 934, in _change_route_async
cmd.get_open_result(wait_timeout)
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\app.py", line 128, in get_open_result
return self._open_callback.get_result()
File "C:\Users\94391\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\minium\miniprogram\base_driver\callback.py", line 152, in get_result
return self._waiter.result()
minium.framework.exception.MiniCommandError: timeout
开发工具初始化成功,但是紧接着就出现这个错误
代码就是minum官网中的demo示例
可以肯定的是minium测试代码没问题,我换了个小程序项目就好使了,但是这个换回来就报错timeout
同样的问题,求怎么解决啊。快折磨死我了
我这个也是,操作登录都正常,登录后的操作运行就提示超时,楼主解决了吗?