Merge "Add toggle checkboxes to action=history"
[lhc/web/wiklou.git] / tests / browser / features / support / pages / preferences_appearance_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 PreferencesAppearancePage
13 include PageObject
14
15 page_url 'Special:Preferences#mw-prefsection-rendering'
16
17 checkbox(:auto_number_check, id: 'mw-input-wpnumberheadings')
18 radio_button(:day_mo_year_radio, id: 'mw-input-wpdate-dmy')
19 checkbox(:dont_show_aft_check, id: 'mw-input-wparticlefeedback-disable')
20 checkbox(:exclude_from_experiments_check, id: 'mw-input-wpvector-noexperiments')
21 checkbox(:hidden_categories_check, id: 'mw-input-wpshowhiddencats')
22 radio_button(:iso_8601_radio, id: 'mw-input-wpdate-ISO_8601')
23 span(:local_time_span, id: 'wpLocalTime')
24 radio_button(:mo_day_year_radio, id: 'mw-input-wpdate-mdy')
25 radio_button(:no_preference_radio, id: 'mw-input-wpdate-default')
26 text_field(:other_offset, id: 'mw-input-wptimecorrection-other')
27 a(:restore_default_link, id: 'mw-prefs-restoreprefs')
28 select_list(:size_select, id: 'mw-input-wpimagesize')
29 select_list(:threshold_select, id: 'mw-input-wpstubthreshold')
30 select_list(:time_offset_select, id: 'mw-input-wptimecorrection')
31 table(:time_offset_table, id: 'mw-htmlform-timeoffset')
32 select_list(:thumb_select, id: 'mw-input-wpthumbsize')
33 select_list(:underline_select, id: 'mw-input-wpunderline')
34 radio_button(:vector, id: 'mw-input-wpskin-vector')
35 radio_button(:year_mo_day_radio, id: 'mw-input-wpdate-ymd')
36 end