执行pytest生成测试报告遇到的问题
不知道从什么时候开始,就出现了下面的错误。
DevTools listening on ws://127.0.0.1:55769/devtools/browser/96d772e2-b4f5-4c7c-af2b-d2ebf2d20571
[1219/175701.324:ERROR:gl_surface_egl.cc(544)] EGL Driver message (Critical) eglInitialize: No available renderers.
[1219/175701.331:ERROR:gl_surface_egl.cc(965)] eglInitialize D3D11 failed with error EGL_NOT_INITIALIZED, trying next display type
在手动执行pytest运行单元测试的时候出来的,相关的网上搜索也没有找到如何解决。暂时记录一下。
相关环境配置:
Python 3.6.5, pytest-5.2.1,
plugins: allure-pytest-2.8.6, html-2.0.0,
windows server2008
这个问题,最近才特别注意到。之前没有留意。