Globalshala / Eval-Bridge-bugs

In the Repository, we will add the bugs related to eval bridge system
0 stars 1 forks source link

Create user for same user code #60

Closed RajdeepGlobalshala closed 4 months ago

RajdeepGlobalshala commented 5 months ago

Whenever we are creating user by filling up the details which are given in the create user page like First Name, Last Name, Email address, Employee Organisation, Employee Code, Evaluate Capacity, Review Capacity, and Employee Role in the input fields then there is two fields are unique Email address and Employee Code or user code but there is two user created with same user code(mt-20) Screenshot 2024-04-09 150919

Steps to reproduce the behavior:

  1. Go to 'http://13.127.150.18:3000/dashboard'
  2. Click on 'User icon'
  3. Click on 'My Team'
  4. Filter by 'user_code'
  5. enter 'mt-20' in search bar
ipankajparihar commented 5 months ago

Error was not reproducible, and it's showing the correct error message about the duplicate empCode.

Adnan-shariff commented 4 months ago

Description: To create a new user with same Employee code/user code

Steps to reproduce: Go to 'http://13.127.150.18:3000/dashboard' Click on Create User Icon Fill the details with already created Employee code For instance: "A-7" (already created user code)

Expected behaviour: when a user creates with same credentials as previously created it should not be created with same user code/employee code for new user as its taken already.

Actual behaviour: The system correctly prevents the creation of a new user account with the same employee code/user code.

Result: Working as intended, please check the screenshot attached.

create_new_user_qa verified1