getting 404 error when generating allure report in protractor using allure command line tool

好久不见. 提交于 2019-12-02 03:06:44

You should not open index.html file like a normal html.

allure will spin up a web server.

"scripts": {
"allure": "node_modules/.bin/allure generate ./allure-results -c && allure open"
},

add this to your script in package.json.

After your allure-results folder is created (i.e) test completes run npm run allure

After you run npm run allure. Your default browser will automatically open the report.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!