forceedge01 / behat-fail-aid

Get more out of your test suite by getting it to work with you when tests fail. Works with Goutte and MinkExtension (Selenium2Driver)
MIT License
28 stars 6 forks source link

--scenario-debug command fails on scenarios #36

Closed forceedge01 closed 4 years ago

forceedge01 commented 4 years ago

What is the issue? The flag fails to capture screenshots on steps that don't use the session for the web such as database fixture setup steps. At this point the session probably hasn't started and trying to capture a screenshot results in a fatal error.

How did it happen? A fixture step definition was used prior to a web one

What should have happened? It should probably bypass the steps it can't take a screenshot for.

forceedge01 commented 4 years ago

Fixed.