From ef5bd83e5505c35431a1d9ccdbff742d76e7d232 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Thu, 26 Mar 2015 15:40:47 +0200 Subject: [PATCH] [BrowserTest] Add padding to the Formatting menu screenshot Change-Id: I606678381a9d291342b3c5d9cba67aef125725ee --- .../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 d8ba97c9bd..d512946f97 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 @@ -165,7 +165,8 @@ Then(/^I take screenshot of Formatting pull-down menu$/) do Screenshot.capture( @browser, "#{@scenario.name}-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", - [@current_page.ve_text_style_button_element, @current_page.formatting_option_menus_element] + [@current_page.ve_text_style_button_element, @current_page.formatting_option_menus_element], + 3 ) end