I am using allure 2.1.1. Allure Report is only showing executed test in Overview tab. How to show data for Launches, Environment, Trend and Executors.
I am using allure 2.1.1. Allure Report is only showing executed test in Overview tab. How to show data for Launches, Environment, Trend and Executors.
For Environment to be displayed you have to create a xml file with the name as environment.xml and store it in your allure-result folder. you can look into this url https://docs.qameta.io/allure/#_environment . Your xml file should be following syntax
<environment><parameter><key>Browser</key><value>Chrome</value></parameter></environment>
For Executor to be displayed you have to create a json file with name as executor.json and store it in your allure-result folder, for displaying executor you can view my answer in Executor is not displayed in Allure reports
For trends and other graphs to be displayed, follow the following steps
run you test cases, allure-results folder with json files and screenshots is created
open cmd prompt
run following cmd in cmd prompt
allure generate path_of_allure-report_folder_generated --clean -o allure-report
NOTE - the above command give us the complete report with graphs the below command gives us only the report but many graphs will not be displayed
allure serve path_of_allure-report_folder_generated
What you need to do is just to copy (and replace) content of the history folder
from: allure-report/history/ to: allure-results/history/