dutchiexl / BehatHtmlFormatterPlugin

This is a behat plugin to generate HTML reports
MIT License
112 stars 116 forks source link

Screenshots get overwritten if scenario's appear in multiple suites. #53

Open ElkanRoelen opened 8 years ago

ElkanRoelen commented 8 years ago

When a scenario is used in multiple suites (behat 3) the screenshot is overwritten by a new screenshot.

Solution: Use suite names in the screenshot name.

Example: results/html/assets/screenshots/{{suite_name}}/{{feature_name}}/{{scenario_name}}.png