mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
c0c90234d0
This moves all browser tests from MobileFrontend to the Minerva repo in preparation for separating the two. Note, this means browser tests will exist in both repositories for a period of time. This is important and necessary to ensure we do not break anything. See: https://lists.wikimedia.org/pipermail/mobile-l/2017-July/010536.html Bug: T168758 Change-Id: I84ae3ea14191f672cabcd52020e80b0a40a72ce1
23 lines
742 B
Ruby
23 lines
742 B
Ruby
class SpecialUserLoginPage < ArticlePage
|
|
include PageObject
|
|
|
|
page_url 'Special:UserLogin'
|
|
|
|
h1(:first_heading, id: 'section_0')
|
|
|
|
button(:login, id: 'wpLoginAttempt')
|
|
text_field(:username, name: 'wpName')
|
|
text_field(:password, name: 'wpPassword')
|
|
text_field(:confirm_password, id: 'wpRetype')
|
|
a(:login_wl, class: 'button')
|
|
button(:signup_submit, id: 'wpCreateaccount')
|
|
a(:create_account_link, id: 'mw-createaccount-join')
|
|
div(:error_box, css: '#userlogin2 > .error')
|
|
span(:confirm_password_error_box, css: '#wpRetype + .error')
|
|
a(:password_reset, title: 'Special:PasswordReset')
|
|
|
|
# signup specific
|
|
text_field(:confirmation_field, id: 'wpCaptchaWord')
|
|
div(:refresh_captcha, id: 'mf-captcha-reload-container')
|
|
end
|