{"name":"test_login_userid_error","status":"passed","steps":[{"name":"打开浏览器","status":"passed","start":1700472878223,"stop":1700472878349},{"name":"输入账号密码","status":"passed","parameters":[{"name":"flag","value":"3"}],"start":1700472878350,"stop":1700472880453},{"name":"输入验证码","status":"passed","parameters":[{"name":"flag","value":"0"}],"start":1700472880453,"stop":1700472882843},{"name":"点击登录","status":"passed","start":1700472882843,"stop":1700472883879},{"name":"登录错误结果校验","status":"broken","statusDetails":{"message":"TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType\n","trace":" File \"D:\\python\\Lib\\site-packages\\allure_commons\\_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"D:\\pythonProject\\atuobase\\test_login\\steps_login.py\", line 161, in judge_result_error\n allure.attach.file(source=ScreenShot(self.driver, module, int(time.time())).screen_shot(), name='失败截图',\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\_allure.py\", line 203, in file\n plugin_manager.hook.attach_file(source=source, name=name, attachment_type=attachment_type, extension=extension)\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_hooks.py\", line 265, in __call__\n return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_manager.py\", line 80, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 60, in _multicall\n return outcome.get_result()\n ^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_result.py\", line 60, in get_result\n raise ex[1].with_traceback(ex[2])\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 39, in _multicall\n res = hook_impl.function(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\allure_pytest\\listener.py\", line 233, in attach_file\n self.allure_logger.attach_file(uuid4(), source, name=name, attachment_type=attachment_type, extension=extension)\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\reporter.py\", line 160, in attach_file\n plugin_manager.hook.report_attached_file(source=source, file_name=file_name)\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_hooks.py\", line 265, in __call__\n return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_manager.py\", line 80, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 60, in _multicall\n return outcome.get_result()\n ^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_result.py\", line 60, in get_result\n raise ex[1].with_traceback(ex[2])\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 39, in _multicall\n res = hook_impl.function(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\logger.py\", line 44, in report_attached_file\n shutil.copy2(source, destination)\n File \"D:\\python\\Lib\\shutil.py\", line 436, in copy2\n copyfile(src, dst, follow_symlinks=follow_symlinks)\n File \"D:\\python\\Lib\\shutil.py\", line 235, in copyfile\n if _samefile(src, dst):\n ^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\shutil.py\", line 212, in _samefile\n return os.path.samefile(src, dst)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"<frozen genericpath>\", line 100, in samefile\n"},"attachments":[{"name":"失败截图","source":"af606344-8bdf-4398-b801-cdb8823782a2-attachment.png","type":"image/png"}],"parameters":[{"name":"flag","value":"1"}],"start":1700472883879,"stop":1700472885056},{"name":"打开浏览器","status":"passed","start":1700472887210,"stop":1700472887296},{"name":"输入账号密码","status":"passed","parameters":[{"name":"flag","value":"3"}],"start":1700472887296,"stop":1700472889400},{"name":"输入验证码","status":"passed","parameters":[{"name":"flag","value":"0"}],"start":1700472889400,"stop":1700472891806},{"name":"点击登录","status":"passed","start":1700472891806,"stop":1700472892857},{"name":"登录错误结果校验","status":"broken","statusDetails":{"message":"TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType\n","trace":" File \"D:\\python\\Lib\\site-packages\\allure_commons\\_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"D:\\pythonProject\\atuobase\\test_login\\steps_login.py\", line 161, in judge_result_error\n allure.attach.file(source=ScreenShot(self.driver, module, int(time.time())).screen_shot(), name='失败截图',\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\_allure.py\", line 203, in file\n plugin_manager.hook.attach_file(source=source, name=name, attachment_type=attachment_type, extension=extension)\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_hooks.py\", line 265, in __call__\n return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_manager.py\", line 80, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 60, in _multicall\n return outcome.get_result()\n ^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_result.py\", line 60, in get_result\n raise ex[1].with_traceback(ex[2])\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 39, in _multicall\n res = hook_impl.function(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\allure_pytest\\listener.py\", line 233, in attach_file\n self.allure_logger.attach_file(uuid4(), source, name=name, attachment_type=attachment_type, extension=extension)\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\reporter.py\", line 160, in attach_file\n plugin_manager.hook.report_attached_file(source=source, file_name=file_name)\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_hooks.py\", line 265, in __call__\n return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_manager.py\", line 80, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 60, in _multicall\n return outcome.get_result()\n ^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_result.py\", line 60, in get_result\n raise ex[1].with_traceback(ex[2])\n File \"D:\\python\\Lib\\site-packages\\pluggy\\_callers.py\", line 39, in _multicall\n res = hook_impl.function(*args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\site-packages\\allure_commons\\logger.py\", line 44, in report_attached_file\n shutil.copy2(source, destination)\n File \"D:\\python\\Lib\\shutil.py\", line 436, in copy2\n copyfile(src, dst, follow_symlinks=follow_symlinks)\n File \"D:\\python\\Lib\\shutil.py\", line 235, in copyfile\n if _samefile(src, dst):\n ^^^^^^^^^^^^^^^^^^^\n File \"D:\\python\\Lib\\shutil.py\", line 212, in _samefile\n return os.path.samefile(src, dst)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"<frozen genericpath>\", line 100, in samefile\n"},"attachments":[{"name":"失败截图","source":"2f1ccb99-571e-4855-8d4b-29eb65ba3119-attachment.png","type":"image/png"}],"parameters":[{"name":"flag","value":"1"}],"start":1700472892857,"stop":1700472894023},{"name":"打开浏览器","status":"passed","start":1700472896097,"stop":1700472896189},{"name":"输入账号密码","status":"passed","parameters":[{"name":"flag","value":"3"}],"start":1700472896189,"stop":1700472898290},{"name":"输入验证码","status":"passed","parameters":[{"name":"flag","value":"0"}],"start":1700472898290,"stop":1700472900674},{"name":"点击登录","status":"passed","start":1700472900674,"stop":1700472901720},{"name":"登录错误结果校验","status":"passed","parameters":[{"name":"flag","value":"1"}],"start":1700472901720,"stop":1700472902735}],"attachments":[{"name":"log","source":"62140e5c-5ff1-4494-8679-f69adf7d9d72-attachment.txt","type":"text/plain"},{"name":"log","source":"838fa8d4-da0c-4a38-b103-709aec13d699-attachment.txt","type":"text/plain"},{"name":"log","source":"90997e19-7bfd-4b4f-b97e-32a66a75dd84-attachment.txt","type":"text/plain"}],"start":1700472896097,"stop":1700472902735,"uuid":"08f89516-a331-4f0f-87e7-f7105fd65ba0","historyId":"2cd12ebe58a5248bd1891c86832c88ea","testCaseId":"9c192e6178a33cdc4b540de5288026eb","fullName":"atuobase.test_login.test_login_userid_error.TestLoginUseridError#test_login_userid_error","labels":[{"name":"story","value":"登录用户名错误案例-点击登录"},{"name":"feature","value":"登录模块"},{"name":"parentSuite","value":"atuobase.test_login"},{"name":"suite","value":"test_login_userid_error"},{"name":"subSuite","value":"TestLoginUseridError"},{"name":"host","value":"HUAWEI"},{"name":"thread","value":"13928-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"atuobase.test_login.test_login_userid_error"},{"name":"story","value":"登录用户名错误案例-点击登录"},{"name":"feature","value":"登录模块"},{"name":"parentSuite","value":"atuobase.test_login"},{"name":"suite","value":"test_login_userid_error"},{"name":"subSuite","value":"TestLoginUseridError"},{"name":"host","value":"HUAWEI"},{"name":"thread","value":"13928-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"atuobase.test_login.test_login_userid_error"},{"name":"story","value":"登录用户名错误案例-点击登录"},{"name":"feature","value":"登录模块"},{"name":"parentSuite","value":"atuobase.test_login"},{"name":"suite","value":"test_login_userid_error"},{"name":"subSuite","value":"TestLoginUseridError"},{"name":"host","value":"HUAWEI"},{"name":"thread","value":"13928-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"atuobase.test_login.test_login_userid_error"}]}