Search code examples
pythongraphreportallurepython-behave

Allure Framework Graph's not showing


I am trying to fill up my allure reports with the graphs but only the defaults are being shown (Severity and Duration).

I looked at the allure-reports/widgets, and the json files are there but it still not showing on the webpage.

graph for categories trend missing

btw, the Trend section on the Overview is empty as well.

I am using allure 2.5.0 with python-behave


Solution

  • All TREND graphs works either with CI or if you took care of transfering history.json file to a new report build.

    In other words - there are two files under ..\allure-report\history folder, called history.json and history-trend.json, that are created first time you build a report. In order to make it work w/o CI you should copy these files from your PREVIOUS report to allure-results folder BEFORE you build a next one.