Skip to content
Permalink
Browse files
feat(serenity-bdd): choose human-readable or short file names for you…
…r HTML reports
  • Loading branch information
jan-molak committed Jun 5, 2020
1 parent c14ac29 commit 1b19aee87023e84fd85e65cb93f8ea65e5c95f92
Showing 1 changed file with 6 additions and 0 deletions.
@@ -46,6 +46,11 @@ export = {
default: path.basename(process.cwd()),
describe: `Project name to appear in the Serenity reports`,
},
shortFilenames: {
default: false,
type: 'boolean',
describe: `Use unique hashes instead of human-readable names for the HTML files`,
},
log: {
default: defaults.log,
choices: [ 'warn', 'info', 'debug' ],
@@ -71,6 +76,7 @@ export = {
return actorCalled('Serenity/JS').attemptsTo(
InvokeSerenityBDD.at(pathToArtifact)
.withProperties(SystemProperties.from({
'serenity.compress.filenames': `${ argv.shortFilenames }`,
'LOG_LEVEL': argv.log,
'logback.configurationFile': path.resolve(moduleRoot, './resources/logback.config.xml'),
}))

0 comments on commit 1b19aee

Please sign in to comment.