- minitest跑自动化的时候,能设置接口域名吗?
使用minium框架在ide跑自动化的时候,能设置小程序调服务端接口的域名吗
2022-01-26 - minitest开启断言截图为什么容易超时?
assert_capture=true 配置为true的时候,截图超时 "errors": "Traceback (most recent call last): File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/unittest/case.py\", line 60, in testPartExecutor yield File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/libs/unittest/case.py\", line 80, in run 、 self._callTestMethod(testMethod) "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/unittest/case.py\", line 633, in _callTestMethod\n method()\n File \"/Users/duhong/Desktop/code/python/lightshop_miniapp_test/TestCase/order_test.py\", line 22, in test_submitOrder_Simple\n self.homePage.go_store(home_page_resource.fast_storename)\n File \"/Users/duhong/Desktop/code/python/lightshop_miniapp_test/Pages/HomePage.py\", line 49, in go_store\n self.check_target_path(page_path.homepage_path)\n File \"/Users/duhong/Desktop/code/python/lightshop_miniapp_test/Base/BasePage.py\", line 30, in check_target_path\n self.mini.assertEqual(self.current_path(), path)\n File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/assertbase.py\", line 353, in _hook_assert\n self._add_assert_info(name or item, ret, print_msg)\n File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/assertbase.py\", line 315, in _add_assert_info\n \"img\": self.hook_assert(name, ret, reason),\n File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/minitest.py\", line 1084, in hook_assert\n self.capture(\"{0}-{1}\".format(name, \"success\" if ret else \"failed\")) File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/minitest.py\", line 899, in capture\n self.native.screen_shot(path)\ File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/native/wx_native/idenative.py\", line 28, in screen_shot\n self.mini.app.screen_shot(filename, return_format)\n File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/base_driver/minium_log.py\", line 135, in wrapper result = func(*args, **kwargs) File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/base_driver/app.py\", line 131, in screen_shot b64_data = self.connection.send(\"App.captureScreenshot\").get(\"result\").get(\"data\") File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/base_driver/connection.py\", line 185, in send return self._receive_response(cmd) File \"/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/base_driver/connection.py\", line 214, in _receive_response raise MiniTimeoutError( minium.framework.exception.MiniTimeoutError: [call App.captureScreenshot] receive from remote timeout, id: bcc63187-6704-4c92-985f-c030893b9893\n",
2021-12-01 - minitest支持扫二维码吗?
使用mintiest测试小程序,小程序里面有扫二维码功能。mintiest支持扫二维码码?
2021-12-01 - minitest多账号执行不是多个账号分配执行所有case?
minitest -s suite.json -c config.json --mode parallel -g 有两个账号,5条用例,使用上面命令执行用例的时候,A账号执行一条用例过后就关闭,而另外一个账号执行了所有用例 w我想5条用例,A账号执行其中两条,B账号执行其他用例,怎么实现?
2021-11-30 - mintiest自动化ide运行的时候可以选择ide里面的机型吗?
mintiest自动化再ide运行的时候可以选择ide里面手机的机型吗? 比如:选择iPhone12,iPhone XR,安卓,微信等
2021-11-26 - minitest多账号运行,为什么是多个账号运行同样的case?
我又两个账号A,B。两个case:T1,T2.运行模式parallel的时候是A,B同时一次执行T1,T2. fork执行的时候是A账号一次执行T1,T2
2021-11-26 - 执行case报错:系统错误,错误码:47001,data format error ?
命令: minitest -s suite.json -c config.json -g Traceback (most recent call last): File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/libs/unittest/suite.py", line 33, in _handleClassSetUp _miniClassSetUp() File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/minitest.py", line 611, in _miniClassSetUp cls.mini = get_minium(cls.CONFIG) File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/framework/minitest.py", line 87, in get_minium g_minium = minium.miniprogram.get_minium_driver(conf=cfg, native=g_native) File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/__init__.py", line 28, in get_minium_driver return APP[application](conf, *args, **kwargs) File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/wx_minium.py", line 114, in __init__ self.launch_dev_tool() File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/base_driver/minium_log.py", line 135, in wrapper result = func(*args, **kwargs) File "/Users/duhong/Library/Python/3.8/lib/python/site-packages/minium/miniprogram/wx_minium.py", line 718, in launch_dev_tool raise MiniLaunchError(err_msg) minium.framework.exception.MiniLaunchError: Error: 系统错误,错误码:47001,data format error [20211126 14:05:51][] (code 10)
2021-11-26 - [minium]小程序自动化,根据xpath定位元素报错?
使用xpath定位元素的时候报错: elements search fail cause: Failed to execute 'querySelectorAll' on 'Document': The provided selector is empty.
2021-10-19