diff options
Diffstat (limited to 'cucumber/features')
-rw-r--r-- | cucumber/features/step_definitions/snapshots.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb index 8b06ebd8..9108c0b5 100644 --- a/cucumber/features/step_definitions/snapshots.rb +++ b/cucumber/features/step_definitions/snapshots.rb @@ -223,8 +223,10 @@ def reach_checkpoint(name) debug_log(scenario_indent + "Step failed while creating checkpoint: #{s}", :color => :red) + live_screenshot raise e end + live_screenshot debug_log(step_indent + "#{step_action} #{s}", :color => :green) step_action = "And" end |