[BrowserTest] Add padding to the Formatting menu screenshot

Change-Id: I606678381a9d291342b3c5d9cba67aef125725ee
This commit is contained in:
Amir E. Aharoni 2015-03-26 15:40:47 +02:00
parent d7926f460c
commit ef5bd83e55

View file

@ -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