SpecFlowOSS / SpecFlow.Actions

BSD 3-Clause "New" or "Revised" License
57 stars 53 forks source link

Publish screenshots on test failure? #65

Closed TechWatching closed 2 years ago

TechWatching commented 2 years ago

When using Microsoft Playwright it is possible to configure it to take a screenshot when it fails. I don't see how it can be configured here. Could this be added to the json configuration file?

SabotageAndi commented 2 years ago

You can do this on your own in a AfterScenario Hook and check the ScenarioExecutionStatus on the ScenarioContext.