Merge "Update the Chinese conversion table for Chinese WikiProjects"
[lhc/web/wiklou.git] / tests / browser / features / support / pages / preferences_user_profile_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 PreferencesUserProfilePage
13 include PageObject
14
15 page_url "Special:Preferences#mw-prefsection-personal"
16
17 table(:basic_info_table, id: "mw-htmlform-info")
18 link(:change_password_link, text: "Change password")
19 table(:email_table, id: "mw-htmlform-email")
20 radio_button(:gender_female_radio, id: "mw-input-wpgender-male")
21 radio_button(:gender_male_radio, id: "mw-input-wpgender-female")
22 radio_button(:gender_undefined_radio, id: "mw-input-wpgender-unknown")
23 select_list(:lang_select, id: "mw-input-wplanguage")
24 checkbox(:remember_password_check, id: "mw-input-wprememberpassword")
25 text_field(:signature_field, id: "mw-input-wpnickname")
26 table(:signature_table, id: "mw-htmlform-signature")
27 end