Hi! I am trying to use ::after hook or find other means, to cause some code to run when a Scenario fails.
In particular -- I'd like, optionally, to have a per-Scenario temporary directory not be deleted when the test fails, so that it is possible for the user to examine the contents of the temp dir.
Hi! I am trying to use
::after
hook or find other means, to cause some code to run when aScenario
fails.In particular -- I'd like, optionally, to have a per-Scenario temporary directory not be deleted when the test fails, so that it is possible for the user to examine the contents of the temp dir.