diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:17:42 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:17:42 -0400 |
commit | f7d4cf9ed0ae68fec630d14e8f6aade38e49f036 (patch) | |
tree | a730c57badbe0e2f0f064ca2006c82d4b6ed54ea /tests/browser/features/support/pages/preferences_appearance_page.rb | |
parent | aee35e4a93d105024bcae947cd8b16c962191f5c (diff) | |
parent | 5d1e7dd0ccda0984ccf3e8e3d0f88ac888b05819 (diff) |
Merge commit '5d1e7'
Diffstat (limited to 'tests/browser/features/support/pages/preferences_appearance_page.rb')
-rw-r--r-- | tests/browser/features/support/pages/preferences_appearance_page.rb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/browser/features/support/pages/preferences_appearance_page.rb b/tests/browser/features/support/pages/preferences_appearance_page.rb new file mode 100644 index 00000000..c24e3862 --- /dev/null +++ b/tests/browser/features/support/pages/preferences_appearance_page.rb @@ -0,0 +1,41 @@ +# +# This file is subject to the license terms in the LICENSE file found in the +# qa-browsertests top-level directory and at +# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of +# qa-browsertests, including this file, may be copied, modified, propagated, or +# distributed except according to the terms contained in the LICENSE file. +# +# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the +# qa-browsertests top-level directory and at +# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS +# +class PreferencesAppearancePage + include PageObject + + include URL + page_url URL.url("Special:Preferences#mw-prefsection-rendering") + + checkbox(:auto_number_check, id: "mw-input-wpnumberheadings") + radio_button(:cologne_blue, id: "mw-input-wpskin-cologneblue") + radio_button(:day_mo_year_radio, id: "mw-input-wpdate-dmy") + checkbox(:dont_show_aft_check, id: "mw-input-wparticlefeedback-disable") + checkbox(:exclude_from_experiments_check, id: "mw-input-wpvector-noexperiments") + checkbox(:hidden_categories_check, id: "mw-input-wpshowhiddencats") + radio_button(:iso_8601_radio, id: "mw-input-wpdate-ISO_8601") + span(:local_time_span, id: "wpLocalTime") + radio_button(:mo_day_year_radio, id: "mw-input-wpdate-mdy") + radio_button(:modern, id: "mw-input-wpskin-modern") + radio_button(:monobook, id: "mw-input-wpskin-monobook") + radio_button(:no_preference_radio, id: "mw-input-wpdate-default") + text_field(:other_offset, id: "mw-input-wptimecorrection-other") + a(:restore_default_link, href: /reset/) + select_list(:size_select, id: "mw-input-wpimagesize") + select_list(:threshold_select, id: "mw-input-wpstubthreshold") + select_list(:time_offset_select, id: "mw-input-wptimecorrection") + table(:time_offset_table, id: "mw-htmlform-timeoffset") + select_list(:thumb_select, id: "mw-input-wpthumbsize") + select_list(:underline_select, id: "mw-input-wpunderline") + radio_button(:vector, id: "mw-input-wpskin-vector") + radio_button(:year_mo_day_radio, id: "mw-input-wpdate-ymd") +end + |