Sahara - ReactJs Unit Tests Part1

Register
Submit a solution
The challenge is finished.

Challenge Overview

1. Context:

PROJECT CONTEXT

This application will be used by various users “Staffs, Request Manager, Line Manager”.

 

User Groups:

Staff: 

  • These are the skilled users who could be internal employees and external employees like vendors, contractors, etc..

  • These users will be able to manage their own skill sets, certifications, and training, they must be able to attach certifications and training.

 

Request Manager:

  • These are the users who will search for skills, teams based on job description and system provides staff matching the required skill set. 

  • The requestor chooses the team.

  • Creates the project under the project name. 

  • Captures the proposed agreement including the capacity required.

  • This will then be sent to the Line Manager for approval.

 

Line Manager:

  • The line manager has access to his staff only for line manager functionality. They must be able to review the employee’s proficiencies add their own proficiencies ratings.

  • The line managers must also be able to approve the project that was created for their employees.  

 

2. Expected Outcome:

  • Add Unit Tests for the required pages.

  

3. Challenge Details

INDIVIDUAL REQUIREMENTS

You should add unit tests for the following pages (in container folder) and associated components:
  • Admin
  • AdminAddReward
  • AdminDashboard
  • AdminRewards
  • ForgotPassword
  • HelpTopics
  • KnowledgeRepository
  • Login
  • Registration

The coverage should be at least 80%, and ensure there are no lint errors. 
 

TECHNOLOGY STACK

  • ReactJS
  • Jest

Final Deliverables

  • Patch file containing the unit tests

4. Scorecard Aid:

JUDGING CRITERIA

  • Major requirements - proper coverage of the required components, the submission will get higher score if its coverage is better


Final Submission Guidelines

See above

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30130806