[BrowserTest] Add padding to screenshots of the page settings dialog

Change-Id: I460fc82a10ca5172537a97f28f3a50573c784a93
This commit is contained in:
Amir E. Aharoni 2015-03-27 00:43:01 +02:00
parent a1271abae3
commit 0cd5797a56

View file

@ -272,13 +272,15 @@ Then(/^I should see Page settings dialog box$/) do
Screenshot.capture(
@browser,
"VisualEditor_Page_Settings_Redirects-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
[@current_page.enable_redirect_element, @current_page.prevent_redirect_element]
[@current_page.enable_redirect_element, @current_page.prevent_redirect_element],
3
)
Screenshot.capture(
@browser,
"VisualEditor_Page_Settings_TOC-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
[@current_page.table_of_contents_element]
[@current_page.table_of_contents_element],
3
)
Screenshot.capture(