-
-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Set Environment details for a Codeceptjs project #978
Comments
Can anyone help. |
looking at allure environment documentation - the environment widget can be configured with an heres an example using Codeceptjs event listener API to generate this file into the output directory after all tests have run:
note: using the Codeceptjs API requires a local codeceptjs installation |
will be fixed via allure-framework/allure-js#909 |
since exports.config = {
plugins: {
allure: {
require: require.resolve("allure-codeceptjs"),
enabled: true,
environmentInfo: {
"app version": "123.0.1",
"some other key": "some other value",
},
categories: [...],
},
},
}; |
Currently, the environment section in the report for a codecept js project shows blank.
What is the way to add the environment details?
My config file:
The text was updated successfully, but these errors were encountered: