Improvement: Add Custom Data to the Environment Section of Allure, using config #277
Closed
8 tasks done
Labels
Milestone
Quick Description
Allure provides the feature to add additional data to the environment box on the dashboard. Currently we store the neodymium version there as default, but adding additional data here has to be done by altering a file content which is not super nice.
We already have a function to add data on the fly:
AllureAddons.addEnvironmentInformation()
. But this would need changes in the test code, or some self build set up, if the environment should be changed.To tackle this we should add the possibility to add environment data by using our property config. This way the data could be changed from outside for example by setting data in a build pipeline.
User Stories
As a test automation engineer,
I want to add environment data to the allure report using the configuration
so that I can see additional data about which environment the test ran upon without touching the code or the repository
Functional Requirements
neodymium.report.environment.custom.myValue = myKey
neodymium.report.environment.custom.baseURL = ${neodymium.url}
neodymium.report.environment.custom.baseURL = ${neodymium.locale}
NOTE: this feature is probably not compatible with the owner framework we use. But we have some similar logic in our XLTProperties in the method
getPropertiesForKey
.Documentation Requirements
Test Requirements
The text was updated successfully, but these errors were encountered: