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.
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
12 class PreferencesUserProfilePage
16 page_url URL.url("Special:Preferences#mw-prefsection-personal")
18 table(:basic_info_table, id: "mw-htmlform-info")
19 link(:change_password_link, text: "Change password")
20 table(:email_table, id: "mw-htmlform-email")
21 radio_button(:gender_female_radio, id: "mw-input-wpgender-male")
22 radio_button(:gender_male_radio, id: "mw-input-wpgender-female")
23 radio_button(:gender_undefined_radio, id: "mw-input-wpgender-unknown")
24 select_list(:lang_select, id: "mw-input-wplanguage")
25 checkbox(:remember_password_check, id: "mw-input-wprememberpassword")
26 text_field(:signature_field, id: "mw-input-wpnickname")
27 table(:signature_table, id: "mw-htmlform-signature")