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