LironEr / cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos
MIT License
159 stars 49 forks source link

Define reportFileName dynamically #102

Closed marijana-rukavina closed 1 year ago

marijana-rukavina commented 2 years ago

Is your feature request related to a problem? Please describe. I would like to have something like this in my cypress.json: "reportFilename": "[status]_[datetime]-[name]-report" where I could define the name dynamically from a variable or something similar? I have a test suite for 2 shops and I would like the report name to reflect the shop's name. Is this possible?

Describe the solution you'd like I don't know the solution

Describe alternatives you've considered Have some general name, but would be better to name it according to the shop

Additional context N/A

LironEr commented 1 year ago

it's already possible, take a look here

All options in mochawesome-report-generator are supported by this reporter, if you need more options please request it in mochawesome-report-generator repo