mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
[BrowserTest] Add padding to screenshots of the page settings dialog
Change-Id: I460fc82a10ca5172537a97f28f3a50573c784a93
This commit is contained in:
parent
a1271abae3
commit
0cd5797a56
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue