mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "[BrowserTest] Shorten lines for clarity"
This commit is contained in:
commit
04f398beaa
|
@ -160,22 +160,45 @@ end
|
|||
|
||||
Then(/^I take screenshot of insert pull-down menu$/) do
|
||||
step 'I click on More in insert pull-down menu'
|
||||
capture_screenshot("#{@scenario.name}-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", [@current_page.insert_menu_element, @current_page.insert_pull_down_element])
|
||||
capture_screenshot(
|
||||
"#{@scenario.name}-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
|
||||
[@current_page.insert_menu_element, @current_page.insert_pull_down_element]
|
||||
)
|
||||
|
||||
highlight @current_page.media_insert_menu_element
|
||||
capture_screenshot("VisualEditor_Media_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", [@current_page.insert_menu_element, @current_page.insert_pull_down_element], nil, 0)
|
||||
capture_screenshot(
|
||||
"VisualEditor_Media_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
|
||||
[@current_page.insert_menu_element, @current_page.insert_pull_down_element],
|
||||
nil,
|
||||
0
|
||||
)
|
||||
|
||||
highlight @current_page.media_insert_menu_element, '#FFFFFF'
|
||||
highlight @current_page.template_insert_menu_element
|
||||
capture_screenshot("VisualEditor_Template_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", [@current_page.insert_menu_element, @current_page.insert_pull_down_element], nil, 0)
|
||||
capture_screenshot(
|
||||
"VisualEditor_Template_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
|
||||
[@current_page.insert_menu_element, @current_page.insert_pull_down_element],
|
||||
nil,
|
||||
0
|
||||
)
|
||||
|
||||
highlight @current_page.template_insert_menu_element, '#FFFFFF'
|
||||
highlight @current_page.ref_list_insert_menu_element
|
||||
capture_screenshot("VisualEditor_References_List_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", [@current_page.insert_menu_element, @current_page.insert_pull_down_element], nil, 0)
|
||||
capture_screenshot(
|
||||
"VisualEditor_References_List_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
|
||||
[@current_page.insert_menu_element, @current_page.insert_pull_down_element],
|
||||
nil,
|
||||
0
|
||||
)
|
||||
|
||||
highlight @current_page.ref_list_insert_menu_element, '#FFFFFF'
|
||||
highlight @current_page.formula_insert_menu_element
|
||||
capture_screenshot("VisualEditor_Formula_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png", [@current_page.insert_menu_element, @current_page.insert_pull_down_element], nil, 0)
|
||||
capture_screenshot(
|
||||
"VisualEditor_Formula_Insert_Menu-#{ENV['LANGUAGE_SCREENSHOT_CODE']}.png",
|
||||
[@current_page.insert_menu_element, @current_page.insert_pull_down_element],
|
||||
nil,
|
||||
0
|
||||
)
|
||||
end
|
||||
|
||||
Then(/^I click on More in insert pull-down menu$/) do
|
||||
|
|
Loading…
Reference in a new issue