# Testing the Mentor Flow of ScholarX v1

**URL:** <https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302>\
**Category:** ScholarX\
**Created:** [June 18, 2021, 3:40pm UTC](https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302 "2021-06-18T15:40:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumuditha\_udayanga](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/kumuditha_udayanga/32/602_2.png) [@kumuditha\_udayanga](https://sef.discourse.group/u/kumuditha_udayanga)\
**Post date:** [June 18, 2021, 3:40pm UTC](https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302/1 "2021-06-18T15:40:57Z")

</div>

Hi, In this thread, I have added some test cases that I ran for each feature related to a Mentor.  
Feel free to add your suggestions and comments below. @anjisvj @jaye@Gravewalker

**Test Cases:**

**1. Login**

- **Issues** : None
- **Suggestions** : N/A

![mentor-login](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/d67db2545610fedffe8d53aeacc4e00c0fe97d5f.gif)

**2. Apply to a program** - Program State: MENTOR\_APPLICATION

- **Issues** : None
- **Suggestions** : N/A

![Mentor-application](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/9962d8a4d4f6d2051782647fa1420a942e110638.gif)

**3. Edit application** - Program State: MENTOR\_APPLICATION

- **Issues** : None
- **Suggestions** : N/A

![Mentor-applcation-edit](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/b5ba079eaf8779d3cb6c41ea20d1dfa16c8a921a.gif)

**4. Approve Mentees** - Program State: MENTEE\_SELECTION

- **Issues** : “Manage” button appears only in “Programs I mentor”, in the “Active Programs” tab “Mentee Selection” tag appears.
- **Suggestions** : Display the “Manage” button on “Active Programs” as same as in the “Active Programs” tab if the user is a mentor of the relevant program.

![Approve-mentees](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/9c4462c28bffc9f7e986f90b36d209671c8decea.gif)

**5. Logout**

- **Issues** : None
- **Suggestions** : N/A

![Logout](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/bb01bea85a61d3e18bdfce8fecbd04c76125a982.gif)

---

<div class="post-metadata">

**Author:** ![jaye](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/jaye/32/810_2.png) [@jaye](https://sef.discourse.group/u/jaye)\
**Post date:** [June 18, 2021, 3:51pm UTC](https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302/2 "2021-06-18T15:51:23Z")

</div>

Wonderful, this is exactly what we were looking for. Thanks for stepping up and getting this done for us.

@anjisvj @YohanAvishke @Gravewalker @piumal1999 Any thoughts?

---

<div class="post-metadata">

**Author:** ![kumuditha\_udayanga](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/kumuditha_udayanga/32/602_2.png) [@kumuditha\_udayanga](https://sef.discourse.group/u/kumuditha_udayanga)\
**Post date:** [June 19, 2021, 8:51am UTC](https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302/3 "2021-06-19T08:51:53Z")

</div>

There is another issue, in “MENTOR\_CONFIRMATION” state, the mentor gets “My mentor” button in “Active Programs”, I have created an issue related to this [https://github.com/sef-global/scholarx-frontend/issues/179](https://github.com/sef-global/scholarx-frontend/issues/179), and I’m currently working on it.

While working on this issue:  
I got a problem, this button won’t appear for mentors if I include “!mentoringPrograms” to the button.  
But once I add “!mentoringPrograms” to the button, from the mentor’s view the button disappears, and also from the mentee’s view it disappears too.  
Any idea how to solve this problem @jaye @piumal1999 @Gravewalker @anjisvj?

**Before the Change:** - Before adding ‘!mentoringPrograms’ to the button.

_Testing Program: Google Season of Docs_

Mentor’s view:  
 ![mentor-view](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/c2c8b24442a2fb865f522e47935cf3d3559a6623.gif)

Mentee’s View:

 ![Screenshot 2021-06-19 at 14.15.10](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/cda491000840a96ab115ff9a61f7f81c5d33945e.png)

**After the Change:** - After adding ‘!mentoringPrograms’ to the button.

Mentor’s View

 ![Screenshot 2021-06-19 at 14.18.20](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/cd05af6038da58c27b9feaa4e31930951fb765f7.jpeg)

Mentee’s View

 ![Screenshot 2021-06-19 at 14.18.46](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/c0dee7e76598c59fccd57d051654901efb7448eb.png)

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [June 19, 2021, 9:25am UTC](https://sef.discourse.group/t/testing-the-mentor-flow-of-scholarx-v1/302/4 "2021-06-19T09:25:14Z")

</div>

Can you send a draft PR with what you have done? @kumuditha_udayanga
