Merge "Allow to send the memory usage with UDP profiler."
[lhc/web/wiklou.git] / tests / browser / features / support / pages / preferences_editing_page.rb
1 #
2 # This file is subject to the license terms in the LICENSE file found in the
3 # qa-browsertests top-level directory and at
4 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
5 # qa-browsertests, including this file, may be copied, modified, propagated, or
6 # distributed except according to the terms contained in the LICENSE file.
7 #
8 # Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
9 # qa-browsertests top-level directory and at
10 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
11 #
12 class PreferencesEditingPage
13 include PageObject
14
15 include URL
16 page_url URL.url("Special:Preferences#mw-prefsection-rendering")
17
18 select_list(:edit_area_font_style_select, id: "mw-input-wpeditfont")
19 checkbox(:edit_section_double_click_check, id: "mw-input-wpeditondblclick")
20 checkbox(:edit_section_edit_link, id: "mw-input-wpeditsectiononrightclick")
21 checkbox(:edit_section_right_click_check, id: "mw-input-wpeditsectiononrightclick")
22 checkbox(:forced_edit_summary_check, id: "mw-input-wpforceeditsummary")
23 checkbox(:live_preview_check, id: "mw-input-wpuselivepreview")
24 checkbox(:preview_on_first_check, id: "mw-input-wppreviewonfirst")
25 checkbox(:preview_on_top_check, id: "mw-input-wppreviewontop")
26 checkbox(:show_edit_toolbar_check, id: "mw-input-wpshowtoolbar")
27 checkbox(:unsaved_changes_check, id: "mw-input-wpuseeditwarning")
28 end