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

This commit is contained in:
jenkins-bot 2015-03-27 08:23:54 +00:00 committed by Gerrit Code Review
commit 6d2aa585e1

View file

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