0
点赞
收藏
分享

微信扫一扫

【已解决】allure空白页 报错 Uncaught TypeError: P.a.registerLanguage is not a function


出现空白页的原因是:本地安装的allure版本和allure-pytes插件版本不一致造成的;

查看二者的版本:



allure --version
-- allure-pytest插件版本
python3 listm



目前allure-pytest最新版本是2.9.x

​​https://pypi.org/project/allure-pytest/​​

而allure则2.15.x了。如果你默认安装allure,很大可能是最新版本,所以版本不一致

解决方案:下载allure-commandline 2.9版本即可

​​https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.9.0/​​

举报

相关推荐

0 条评论