Skip to content

I need to configure allure report with my getConfigurationByFile settings #60

Answered by Shelex
sregeauto asked this question in Q&A
Discussion options

You must be logged in to vote

@sregeauto Thank you for opening a discussion!

Basically, if you already return config from "getConfigurationByFile", you can set allureWriter task just before that command:

module.exports = (on, config) => {
on('file:preprocessor', selectTestsWithGrep(config))
const file = config.env.configFile || 'cypress.dev'
allureWriter(on, config);
return getConfigurationByFile(file)
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Shelex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants