[BrowserTest] Add padding to the page settings item screenshot

Change-Id: I38f9d81cbfaa28c51997105bdc2cbaa81ed02783
This commit is contained in:
Amir E. Aharoni 2015-03-27 00:40:31 +02:00
parent fb4212232d
commit 5795b84d59

View file

@ -69,7 +69,8 @@ When(/^I click on Page settings option$/) do
Screenshot.capture(
@browser,
"VisualEditor_page_settings_item-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
[@current_page.hamburger_menu_element, @current_page.page_option_menu_element]
[@current_page.hamburger_menu_element, @current_page.page_option_menu_element],
3
)
on(VisualEditorPage).page_settings_element.when_present.click