Skip to content

Instantly share code, notes, and snippets.

@Amitesh
Created June 15, 2023 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Amitesh/4f4830a9453f1b980b08081d4f7d02d2 to your computer and use it in GitHub Desktop.
Save Amitesh/4f4830a9453f1b980b08081d4f7d02d2 to your computer and use it in GitHub Desktop.
allure-env-config
export const config = {
// ...
reporters: [['allure', {
outputDir: 'allure-results',
disableWebdriverStepsReporting: true,
disableWebdriverScreenshotsReporting: true,
reportedEnvironmentVars: {
'foo': 'Hello world!',
foobar: 'Goodbye world',
'Foo / Bar': process.env.foobar,
'boolean?' : true,
device: process.env.device,
}
}]],
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment