Page MenuHomePhabricator

[QA task] Quitting/removing mentors workflows testing
Open, Needs TriagePublic

Description

Notes:

  • Testing for removing and re-assigning mentees was done on cswiki beta (and confirmed on testwiki wmf.5)
  • The wait period (for possible status/re-assignment changes) was 2-3 days

A mentor

  • can quit Mentorship
  • can be removed from Mentorship on Special:ManageMentors

What was checked:

  • if mentors have access to MentorDashboard
  • if mentees see quit/removed mentors as their mentors on Homepage

✅ - denotes correct behavior
❌ - denotes incorrect behavior

Action on mentorMentor access to Special:MentorDashboardAPI call - assigned menteesMentees see the quit/removed mentor on Homepage?
Mentor quits✅ redirects to Special:EnrollAsMentor❌ mentees are listed as assigned, e.g. API call for ET13 quit mentor❌ yes, mentees are still assigned (confirmed by a mentee seeing quit mentor on Homepage
Mentor is removed✅ permission error❌ mentees are listed as assigned, e.g. API call for ET31 removed mentor❌ yes, mentees are still assigned (confirmed by a mentee seeing removed mentor on Homepage)

Checked on beta Oct 09/2024 (from https://phabricator.wikimedia.org/T376124#10215805)

  • mentor ET15 (gemm_mentor_id=6900) has 7763 mentees
  • one of mentees is ET11 (user_id=6710)
  • mentor ET15 quits

What was checked

  • ✅ the former mentor ET15 doesn't see Special:MentorDashboard anymore ( happens immediately)
  • ✅ the former mentor ET15 is not listed anymore on Special:ManageMentors page ( happens immediately)
  • &list=growthmentormentee&gemmmentor=ET15 still lists mentees as assigned to ET15 (after 24 hours)
  • ET11 (user_id=6710), a mentee of ET15, still sees ET15 as a mentor on its Special:Homepage and with {{#mentor:ET11}} shows ET15 (after 24 hours)
  • db still lists ET15 (gemm_mentor_id=6900) as a mentor (after 24 hours)
  • ❓ ET11 received an email of changed mentor; the email displays labels
    Screen Shot 2024-10-09 at 2.40.57 PM.png (562×1 px, 94 KB)
  • ❓ ET11 notifications indicate that a mentor has been changed several times:
    Screen Shot 2024-10-09 at 2.19.26 PM.png (1×2 px, 271 KB)