From d7926f460c9856fa7523d28b8fe7ab478a3abd57 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Thu, 26 Mar 2015 15:38:00 +0200 Subject: [PATCH] [BrowserTest] Add padding to editing tabs screenshot Change-Id: I60b915f470a751c041718bf339fa5bd27d5291ef --- .../features/step_definitions/language_screenshot_steps.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb index f99bda11c7..d8ba97c9bd 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb @@ -405,7 +405,8 @@ Then(/^I should see the Edit tab at the top of the page$/) do Screenshot.capture( @browser, "#{@scenario.name}-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", - [@current_page.top_editing_tabs_element] + [@current_page.top_editing_tabs_element], + 3 ) end