SUL3 is on the testwikis now, and could use some extra manual testing.
Some things that could be tested:
Login
- basic password login - PASSED ✅
- "keep me logged in checkbox" (should result in centralauth_Token cookie with 1-year expiry on the wiki where you are logging in) - PASSED ✅
- forced password change on login when having a weak password - PASSED ✅
- login with a temporary password - PASSED ✅
- login with a temporary password, on a different wiki than where the email was sent from - PASSED ✅
- captcha appears after a few failed login attempts for the same user, and prevents further login attempts unless correctly filled out - PASSED ✅
- login gets throttled after even more failed attempts - PASSED ✅
-
blocked user cannot login, gets reasonable error message- per T384232#10578447 -
same for locally spam-blacklisted user (test both the JS dropdown on the username field, and the form submit)- not used for login. - [autocreation] same for locally title-blacklisted user (test both the JS dropdown on the username field, and the form submit) - PASSED ✅
- [autocreation] same for username blocked by AbuseFilter (test both the JS dropdown on the username field, and the form submit) - PASSED ✅
- same when trying to log in on a closed wiki (see T387736) - PENDING 🚧
- test one of the mitigations in PrivateSettings - PASSED ✅
- TOTP second factor - PASSED ✅
- WebAuthn second factor (nice to have - T376021; probably no way to set up a working key on auth.wikimedia.org at this point)
- starting signup, switching to login via user menu - PASSED ✅
- security reauthentication (e.g. when doing a password change) works - PASSED ✅
- OAuth flow: use OAuth-based identity while not being logged in on Wikimedia (the OAuth Authorization would have to happen on testwiki, not sure if there's an existing tool like that, or we need to create a new tool for testing)
- login via a permission error redirect (e.g. visit Special:Preferences while logged out) - PASSED ✅
- NewUserMessage autocreate welcome message - PASSED ✅
- checkuser data is logged after successful login, including client hints - PASSED ✅
- checkuser data is logged after failed login login, including client hints - PASSED ✅
- LoginNotify email is sent after login from new device - PASSED ✅
- LoginNotify email is sent after failed login - PASSED ✅
-
login via fallback URL (once T377140 is done)- (declined per T377140#10575339)
Signup
- basic user account creation - PASSED ✅
- email notification gets sent, links use canonical domain - PASSED ✅
- captcha works - PASSED ✅
- signup gets throttled after a few successful signups from the same IP; can be unthrottled with resetAuthenticationThrottle - PASSED ✅
- blocked user cannot sign up, gets reasonable error message - PASSED ✅
- same for spam-blacklisted user (test both the JS dropdown on the username field, and the form submit) - PASSED ✅
- test one of the mitigations in PrivateSettings - PASSED ✅
- same for title-blacklisted user (test both the JS dropdown on the username field, and the form submit) - PASSED ✅
- same for username caught by AntiSpoof (test both the JS dropdown on the username field, and the form submit) - PASSED ✅
- same for username blocked by AbuseFilter (test both the JS dropdown on the username field, and the form submit)
- signup is disallowed on a closed wiki - PASSED ✅
- something something IPReputation? not sure if this is testable in production
- starting login, switching to signup via form button - PASSED ✅
- starting login, switching to signup via user menu - PASSED ✅
- GrowthExperiments signup flow (signup should end with Special:WelcomeSurvey) - PASSED ✅
- GrowthExperiments signup-during-edit flow (signup from VE should end with Special:WelcomeSurvey after page save) - PASSED ✅
- customized landing pages (especially that it doesn't result in auth.wikimedia.org URLs for some inolved page / message due to parser cache pollution) - PASSED ✅
- NewUserMessage welcome message (especially that it doesn't end up with auth.wikimedia.org URLs due to parser cache pollution) - PASSED ✅
- campaign URL parameter results in user preference correctly set - PASSED ✅
- incubatortestwiki-project/incubatortestwiki-code user preferences correctly set when using a signup link with testwikiproject / testwikicode query parameters on Incubator - FAILED ❌
- temp user creation via edit works in basic editor - PASSED ✅
- temp user creation via edit works in some JS editor, e.g. DiscussionTools - PASSED ✅
- temp user signing up for named account - PASSED ✅
API
- login via action=clientlogin (on a local domain) - PASSED ✅
- bot login via action=login - PASSED ✅
- action=logout - PASSED ✅
(future: make sure credentials change APIs are unaffected after T362715)
Central session
- after login or signup, user should be logged in on other registrable domains - PASSED ✅
- "keep me logged in" state is transferred correctly - PASSED ✅
- after deleting cookies on a given domain, centrally logged-in user should autologin - PASSED ✅
- after deleting cookies on a given domain and setting CentralAuthAnon=1 cookie, centrally logged-in user should autologin when clicking login link - PASSED ✅
- after temp user creation, temp user should be logged in on other registrable domains - FLAKY 🚧
- "keep me logged in" state is transferred correctly - FLAKY 🚧
- after deleting cookies on a given domain, centrally logged-in temp user should autologin - PASSED ✅
- after deleting cookies on a given domain and setting CentralAuthAnon=1 cookie, centrally logged-in temp user should autologin when clicking login link - PASSED ✅
- logout clears the centralauth_* cookies on registrable domains other than the current one - PASSED ✅
Instrumentation
- accountcreation/account_conversion gets logged during login page view + after successful login, and has correct SUL3 flag - PASSED ✅
- serversideaccountcreation gets logged after signup and has correct SUL3 flag - PASSED ✅
- accountcreation/account_conversion gets logged during signup page view + after successful signup, and has correct SUL3 flag - PASSED ✅
- accountcreation/block gets logged after signup attempt from a blocked IP, and has correct SUL3 flag - PASSED ✅
- sul3_authentication_start_total / sul3_authentication_end_total gets incremented during login / signup - PASSED ✅
Rollout
-
using the fallback login link results in SUL2 login workflow. Central autologin remains functional. (once T377140 is done)- (declined per T377140#10575339)
- same for signup. User still gets opted into SUL3.
- when signing up on a SUL3-for-signup-enabled wiki, the next login on the same registrable domain will result in a SUL3 flow. (once T377144 is done)
- when an existing user got opted into SUL3, their next login (on any registrable domain where they have logged in recently) will result in a SUL3 flow. (once T384215 is done)
Other
- taking a long time to fill out the login form (more than the 5 minute login session expiry)
(future: credentials change workflows after T362715)