From 776f5f483c8d2e387b39d83caf66f8aa4e3017d0 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 22 May 2016 20:18:31 +0200 Subject: lvc: let's have loads of screenshots Signed-off-by: Holger Levsen --- cucumber/features/step_definitions/snapshots.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cucumber/features') 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 -- cgit v1.2.3-70-g09d2