diff options
author | Philip Hands <phil@hands.com> | 2016-05-22 20:18:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-22 20:29:49 +0200 |
commit | 776f5f483c8d2e387b39d83caf66f8aa4e3017d0 (patch) | |
tree | 6a3f50aa623fdf78f2289362ac2e382b97e695c9 /cucumber/features | |
parent | bff872a6b6777242a4effc5a4d747149766a46d2 (diff) | |
download | jenkins.debian.net-776f5f483c8d2e387b39d83caf66f8aa4e3017d0.tar.xz |
lvc: let's have loads of screenshots
Signed-off-by: Holger Levsen <holger@layer-acht.org>
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 |