From: Tom Clegg Date: Wed, 11 Sep 2019 20:42:42 +0000 (-0400) Subject: 15615: Don't save screenshots of skipped tests. X-Git-Tag: 2.0.0~199^2~4 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/76ecdae1b68c29cac9a905e8c4ea00cfe569c3b7 15615: Don't save screenshots of skipped tests. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/apps/workbench/test/integration_helper.rb b/apps/workbench/test/integration_helper.rb index 0c66e59c8c..7209f2b6c9 100644 --- a/apps/workbench/test/integration_helper.rb +++ b/apps/workbench/test/integration_helper.rb @@ -206,7 +206,7 @@ class ActionDispatch::IntegrationTest end teardown do - if not passed? + if !passed? && !skipped? screenshot end if Capybara.current_driver == :selenium