From 0745d38a7269d76cf79636cfa960a87f88e25003 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Fri, 27 Mar 2015 00:43:49 +0200 Subject: [PATCH] [BrowserTest] Add padding to the "Apply changes" button screenshot Change-Id: I1a7aaca8013bf671ff39c310d5ad0dd1725b094a --- .../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 f1ee17940d..f2b2504c01 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 @@ -294,7 +294,8 @@ Then(/^I should see Page settings dialog box$/) do Screenshot.capture( @browser, "VisualEditor_Apply_Changes-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", - [@current_page.settings_apply_button_element] + [@current_page.settings_apply_button_element], + 3 ) end