25c384f7bd9e009de372a77653e665bc595e1a6f
[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 page_url 'Special:Preferences#mw-prefsection-rendering'
16
17 select_list(:edit_area_font_style_select, id: 'mw-input-wpeditfont')
18 checkbox(:edit_section_double_click_check, id: 'mw-input-wpeditondblclick')
19 checkbox(:edit_section_edit_link, id: 'mw-input-wpeditsectiononrightclick')
20 checkbox(:edit_section_right_click_check, id: 'mw-input-wpeditsectiononrightclick')
21 checkbox(:forced_edit_summary_check, id: 'mw-input-wpforceeditsummary')
22 checkbox(:live_preview_check, id: 'mw-input-wpuselivepreview')
23 checkbox(:preview_on_first_check, id: 'mw-input-wppreviewonfirst')
24 checkbox(:preview_on_top_check, id: 'mw-input-wppreviewontop')
25 checkbox(:show_edit_toolbar_check, id: 'mw-input-wpshowtoolbar')
26 checkbox(:unsaved_changes_check, id: 'mw-input-wpuseeditwarning')
27 end