Skip to content
New issue

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

发现错误,conftest.py中new_report_time()路径错误 #11

Open
Juan-Chen-BNUZ opened this issue Jun 22, 2020 · 1 comment
Open

Comments

@Juan-Chen-BNUZ
Copy link

new_report_time() 方法中路径错误,return files[-1],当存在日志的时候,倒数第一个文件是__init__.py,所以save_screenshot方法中的路径就会错误,应该改成 return files[-2],才能正确获取到第一个日志文件夹

@defnngj
Copy link
Owner

defnngj commented Jul 19, 2020

已经解决,不再使用这种方式获取最新的测试报告!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants