ncc-erp / ncc-erp-workflow-w2-ui

0 stars 0 forks source link

[53041][W2] Show admin editor workflow #138

Closed longvodinhhoang closed 6 months ago

longvodinhhoang commented 10 months ago

Checklist

Description

Evidence

github-actions[bot] commented 10 months ago

Code Coverage Results:

--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                   |   67.47 |    44.59 |   51.71 |   67.12 |                                                                                                                 
 api/apiHooks                               |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                  |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                     |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                          |   81.65 |       30 |   62.06 |   80.61 |                                                                                                                 
  EmptyWrapper.tsx                          |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                          |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                            |   63.15 |        0 |      50 |   58.82 | 31,40-96                                                                                                        
  PasswordField.tsx                         |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                 |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                     
  SelectField.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                |      75 |       50 |      25 |   72.72 | 18-39                                                                                                           
  WorkflowModal.tsx                         |   72.72 |      100 |       0 |      70 | 32-36                                                                                                           
 common/components/Boards                   |    50.5 |    37.34 |   46.15 |   51.28 |                                                                                                                 
  ListTask.tsx                              |   58.62 |    33.33 |   46.66 |   59.29 | 89-90,95-106,181-274,310-313,321-350,367,378,410-482                                                            
  ModalBoard.tsx                            |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                          |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                 |   42.65 |    39.81 |      50 |    43.9 | 126-133,137-163,167-201,224-238,259-269,280-288,295-302,312-333,339-340,348-368,379,386,393,412-436,477,564-584 
  useBoard.tsx                              |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                      |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails              |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                 |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker          |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                 |   77.77 |       50 |   33.33 |   77.77 | 38-54                                                                                                           
 common/components/IFrame                   |   11.53 |        0 |       0 |   11.53 |                                                                                                                 
  index.tsx                                 |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                            
 common/components/Page                     |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                    |   76.08 |    57.14 |   53.84 |   74.41 |                                                                                                                 
  PageSize.tsx                              |      90 |      100 |      50 |   88.88 | 24                                                                                                              
  ShowingItemText.tsx                       |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                 |   66.66 |    57.69 |      50 |   65.51 | 61-63,67-69,113-119,157-158                                                                                     
 common/components/TextGroup                |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                  |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 18                                                                                                              
 features/RequestTemplates/components       |   79.01 |       50 |   47.61 |   81.33 |                                                                                                                 
  RequestTemplateModal.tsx                  |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateTable.tsx                  |   77.33 |       50 |      45 |      80 | 78-79,123-126,159,166,181-185,189,255                                                                           
 features/RequestTemplates/components/forms |   51.82 |       30 |   42.85 |   52.23 |                                                                                                                 
  RequestForm.tsx                           |   51.82 |       30 |   42.85 |   52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457                       
 features/Tasks                             |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                  |   66.26 |    53.44 |   46.66 |   66.44 |                                                                                                                 
  RequestInput.tsx                          |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                       |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,223-325                                                                     
  TasksBoard.tsx                            |   83.56 |    70.58 |   59.09 |   82.35 | 100,152-158,169,183,198-248,271                                                                                 
 features/auth/pages                        |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                 
  Login.tsx                                 |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                            
 features/report                            |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                 |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                           |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                       |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,231-268                                                                      
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                    |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components         |   77.59 |    57.14 |   61.53 |   78.44 |                                                                                                                 
  DetailModal.tsx                           |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                 
  MyRequestTable.tsx                        |   74.82 |       50 |   60.46 |   75.59 | 217,224,251-252,256-257,261-265,269-286,306-451                                                                 
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement                    |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components         |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                              |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                   |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                             |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                      |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                         |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                           |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                             |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                     |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                              |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                     |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                            |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                      |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                 
  convertToCase.ts                          |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                              |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                         |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                            
  formatDate.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  getDayAgo.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                       |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                  |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                  |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                          |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                            |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                           |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                               |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  subtractTime.ts                           |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                       |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                       |     100 |      100 |     100 |     100 |                                                                                                                 
--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 10 months ago

Code Coverage Results:

--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                   |   67.47 |    44.59 |   51.71 |   67.12 |                                                                                                                 
 api/apiHooks                               |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                  |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                     |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                          |   81.65 |       30 |   62.06 |   80.61 |                                                                                                                 
  EmptyWrapper.tsx                          |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                          |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                            |   63.15 |        0 |      50 |   58.82 | 31,40-96                                                                                                        
  PasswordField.tsx                         |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                 |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                     
  SelectField.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                |      75 |       50 |      25 |   72.72 | 18-39                                                                                                           
  WorkflowModal.tsx                         |   72.72 |      100 |       0 |      70 | 32-36                                                                                                           
 common/components/Boards                   |    50.5 |    37.34 |   46.15 |   51.28 |                                                                                                                 
  ListTask.tsx                              |   58.62 |    33.33 |   46.66 |   59.29 | 89-90,95-106,181-274,310-313,321-350,367,378,410-482                                                            
  ModalBoard.tsx                            |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                          |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                 |   42.65 |    39.81 |      50 |    43.9 | 126-133,137-163,167-201,224-238,259-269,280-288,295-302,312-333,339-340,348-368,379,386,393,412-436,477,564-584 
  useBoard.tsx                              |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                      |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails              |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                 |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker          |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                 |   77.77 |       50 |   33.33 |   77.77 | 38-54                                                                                                           
 common/components/IFrame                   |   11.53 |        0 |       0 |   11.53 |                                                                                                                 
  index.tsx                                 |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                            
 common/components/Page                     |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                    |   76.08 |    57.14 |   53.84 |   74.41 |                                                                                                                 
  PageSize.tsx                              |      90 |      100 |      50 |   88.88 | 24                                                                                                              
  ShowingItemText.tsx                       |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                 |   66.66 |    57.69 |      50 |   65.51 | 61-63,67-69,113-119,157-158                                                                                     
 common/components/TextGroup                |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                  |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 18                                                                                                              
 features/RequestTemplates/components       |   79.01 |       50 |   47.61 |   81.33 |                                                                                                                 
  RequestTemplateModal.tsx                  |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateTable.tsx                  |   77.33 |       50 |      45 |      80 | 78-79,123-126,159,166,181-185,189,255                                                                           
 features/RequestTemplates/components/forms |   51.82 |       30 |   42.85 |   52.23 |                                                                                                                 
  RequestForm.tsx                           |   51.82 |       30 |   42.85 |   52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457                       
 features/Tasks                             |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                  |   66.26 |    53.44 |   46.66 |   66.44 |                                                                                                                 
  RequestInput.tsx                          |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                       |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,223-325                                                                     
  TasksBoard.tsx                            |   83.56 |    70.58 |   59.09 |   82.35 | 100,152-158,169,183,198-248,271                                                                                 
 features/auth/pages                        |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                 
  Login.tsx                                 |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                            
 features/report                            |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                 |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                           |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                       |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,231-268                                                                      
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                    |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components         |   77.59 |    57.14 |   61.53 |   78.44 |                                                                                                                 
  DetailModal.tsx                           |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                 
  MyRequestTable.tsx                        |   74.82 |       50 |   60.46 |   75.59 | 217,224,251-252,256-257,261-265,269-286,306-451                                                                 
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement                    |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components         |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                              |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                   |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                             |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                      |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                         |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                           |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                             |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                     |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                              |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                     |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                            |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                      |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                 
  convertToCase.ts                          |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                              |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                         |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                            
  formatDate.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  getDayAgo.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                       |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                  |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                  |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                          |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                            |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                           |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                               |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  subtractTime.ts                           |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                       |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                       |     100 |      100 |     100 |     100 |                                                                                                                 
--------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 10 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   66.31 |    44.17 |   49.49 |   65.92 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   81.65 |       30 |   62.06 |   80.61 |                                                                                                                 
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   63.15 |        0 |      50 |   58.82 | 31,40-96                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |      75 |       50 |      25 |   72.72 | 18-39                                                                                                           
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 32-36                                                                                                           
 common/components/Boards                    |    50.5 |    37.34 |   46.15 |   51.28 |                                                                                                                 
  ListTask.tsx                               |   58.62 |    33.33 |   46.66 |   59.29 | 89-90,95-106,181-273,309-312,320-349,366,377,409-481                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   42.65 |    39.81 |      50 |    43.9 | 126-133,137-163,167-201,224-238,259-269,280-288,295-302,312-333,339-340,348-368,379,386,393,412-436,477,564-584 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 38-54                                                                                                           
 common/components/IFrame                    |   11.53 |        0 |       0 |   11.53 |                                                                                                                 
  index.tsx                                  |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                            
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   76.08 |    57.14 |   53.84 |   74.41 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 24                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   66.66 |    57.69 |      50 |   65.51 | 61-63,67-69,113-119,157-158                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       80 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       80 |     100 |     100 | 23                                                                                                              
 features/RequestTemplates/components        |   66.37 |       50 |      30 |   68.51 |                                                                                                                 
  RequestTemplateTable.tsx                   |   66.35 |       50 |   31.03 |      69 | 89-92,96-97,101-103,107-108,154-174,208,215,230-234,238-241,245,343-344                                         
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 25-28                                                                                                           
 features/RequestTemplates/components/forms  |   47.05 |    26.66 |    27.5 |   47.26 |                                                                                                                 
  CreateForm.tsx                             |   37.83 |        0 |       0 |   37.83 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   40.62 |        0 |       0 |   40.62 | 40-147                                                                                                          
  RequestForm.tsx                            |   51.11 |       30 |   40.74 |   51.51 | 88-95,100-125,132-134,138-140,152-163,174-177,184-187,194-221,265-300,326,371-384,412-453                       
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   66.26 |    53.44 |   46.66 |   66.44 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,222-324                                                                     
  TasksBoard.tsx                             |   83.56 |    70.58 |   59.09 |   82.35 | 100,152-158,169,183,198-248,271                                                                                 
 features/auth/pages                         |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                 
  Login.tsx                                  |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                            
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,231-268                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   77.59 |    57.14 |   61.53 |   78.44 |                                                                                                                 
  DetailModal.tsx                            |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                 
  MyRequestTable.tsx                         |   74.82 |       50 |   60.46 |   75.59 | 217,224,251-252,256-257,261-265,269-286,306-451                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                            
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 10 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   66.27 |    43.76 |   49.49 |   65.88 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   81.65 |       30 |   62.06 |   80.61 |                                                                                                                 
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   63.15 |        0 |      50 |   58.82 | 31,40-96                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |      75 |       50 |      25 |   72.72 | 18-39                                                                                                           
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 32-36                                                                                                           
 common/components/Boards                    |    50.5 |    37.34 |   46.15 |   51.28 |                                                                                                                 
  ListTask.tsx                               |   58.62 |    33.33 |   46.66 |   59.29 | 89-90,95-106,181-273,309-312,320-349,366,377,409-481                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   42.65 |    39.81 |      50 |    43.9 | 126-133,137-163,167-201,224-238,259-269,280-288,295-302,312-333,339-340,348-368,379,386,393,412-436,477,564-584 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 38-54                                                                                                           
 common/components/IFrame                    |   11.53 |        0 |       0 |   11.53 |                                                                                                                 
  index.tsx                                  |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                            
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   76.08 |    57.14 |   53.84 |   74.41 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 24                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   66.66 |    57.69 |      50 |   65.51 | 61-63,67-69,113-119,157-158                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   65.81 |       50 |      30 |   67.88 |                                                                                                                 
  RequestTemplateTable.tsx                   |   65.74 |       50 |   31.03 |   68.31 | 89-92,97-99,103-105,109-110,156-176,213,220,235-239,243-246,250,349-350                                         
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 25-28                                                                                                           
 features/RequestTemplates/components/forms  |    46.5 |    26.08 |    27.5 |    46.7 |                                                                                                                 
  CreateForm.tsx                             |   39.39 |        0 |       0 |   39.39 | 50-119                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-173                                                                                                          
  RequestForm.tsx                            |   50.75 |       30 |   40.74 |   51.16 | 86-93,98-122,129-131,135-137,149-160,171-174,181-184,191-218,262-297,323,368-381,409-450                        
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   66.26 |    53.44 |   46.66 |   66.44 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,222-324                                                                     
  TasksBoard.tsx                             |   83.56 |    70.58 |   59.09 |   82.35 | 100,152-158,169,183,198-248,271                                                                                 
 features/auth/pages                         |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                 
  Login.tsx                                  |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                            
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,231-268                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   77.59 |    57.14 |   61.53 |   78.44 |                                                                                                                 
  DetailModal.tsx                            |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                 
  MyRequestTable.tsx                         |   74.82 |       50 |   60.46 |   75.59 | 217,224,251-252,256-257,261-265,269-286,306-452                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                            
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 10 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   66.27 |    43.76 |   49.49 |   65.88 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   81.65 |       30 |   62.06 |   80.61 |                                                                                                                 
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   63.15 |        0 |      50 |   58.82 | 31,40-96                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |      75 |       50 |      25 |   72.72 | 18-39                                                                                                           
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 32-36                                                                                                           
 common/components/Boards                    |    50.5 |    37.34 |   46.15 |   51.28 |                                                                                                                 
  ListTask.tsx                               |   58.62 |    33.33 |   46.66 |   59.29 | 89-90,95-106,181-273,309-312,320-349,366,377,409-481                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   42.65 |    39.81 |      50 |    43.9 | 126-133,137-163,167-201,224-238,259-269,280-288,295-302,312-333,339-340,348-368,379,386,393,412-436,477,564-584 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 38-54                                                                                                           
 common/components/IFrame                    |   11.53 |        0 |       0 |   11.53 |                                                                                                                 
  index.tsx                                  |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                            
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   76.08 |    57.14 |   53.84 |   74.41 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 24                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   66.66 |    57.69 |      50 |   65.51 | 61-63,67-69,113-119,157-158                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   65.81 |       50 |      30 |   67.88 |                                                                                                                 
  RequestTemplateTable.tsx                   |   65.74 |       50 |   31.03 |   68.31 | 89-92,97-99,103-105,109-110,156-176,213,220,235-239,243-246,250,349-350                                         
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 25-28                                                                                                           
 features/RequestTemplates/components/forms  |    46.5 |    26.08 |    27.5 |    46.7 |                                                                                                                 
  CreateForm.tsx                             |   39.39 |        0 |       0 |   39.39 | 50-121                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                          
  RequestForm.tsx                            |   50.75 |       30 |   40.74 |   51.16 | 86-93,98-122,129-131,135-137,149-160,171-174,181-184,191-218,262-297,323,368-381,409-450                        
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   66.26 |    53.44 |   46.66 |   66.44 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,222-324                                                                     
  TasksBoard.tsx                             |   83.56 |    70.58 |   59.09 |   82.35 | 100,152-158,169,183,198-248,271                                                                                 
 features/auth/pages                         |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                 
  Login.tsx                                  |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                            
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,231-268                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   77.59 |    57.14 |   61.53 |   78.44 |                                                                                                                 
  DetailModal.tsx                            |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                 
  MyRequestTable.tsx                         |   74.82 |       50 |   60.46 |   75.59 | 217,224,251-252,256-257,261-265,269-286,306-452                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                            
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 10 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                   
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files                                    |   66.63 |     43.4 |   49.59 |   66.27 |                                                                                                                     
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                     
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                                  
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components                           |    82.3 |    22.41 |   62.06 |   81.37 |                                                                                                                     
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                               
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                               
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                            
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                               
  SearchableSelectField.tsx                  |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                         
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  Toogle.tsx                                 |   78.57 |       50 |      25 |   76.92 | 20-46                                                                                                               
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 32-36                                                                                                               
 common/components/Boards                    |   52.17 |    37.79 |   46.83 |   52.97 |                                                                                                                     
  ListTask.tsx                               |   59.32 |    34.21 |   46.66 |      60 | 91-92,97-108,187-279,316-319,327-356,373,384,416-494                                                                
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                            
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                                  
  index.tsx                                  |   45.77 |    40.17 |   51.61 |   47.03 | 129-136,140-166,170-204,227-241,262-272,283-291,298-305,315-336,342-343,351-371,382,389,396,418,439-463,507,598-618 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                         
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                               
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                     
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                                  
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                     
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                               
 common/components/IFrame                    |   11.53 |        0 |       0 |   11.53 |                                                                                                                     
  index.tsx                                  |   11.53 |        0 |       0 |   11.53 | 9-47                                                                                                                
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                     
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components/Table                     |   77.08 |    54.54 |   53.84 |   75.55 |                                                                                                                     
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                                  
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                                  
  Table.tsx                                  |   68.75 |    54.83 |      50 |   67.74 | 63-65,69-71,120-126,171-172                                                                                         
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                     
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                                  
 features/RequestTemplates/components        |   65.81 |       50 |      30 |   67.88 |                                                                                                                     
  RequestTemplateTable.tsx                   |   65.74 |       50 |   31.03 |   68.31 | 89-92,97-99,103-105,109-110,156-176,213,220,235-239,243-246,250,353-354                                             
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 25-28                                                                                                               
 features/RequestTemplates/components/forms  |    46.5 |    26.08 |    27.5 |    46.7 |                                                                                                                     
  CreateForm.tsx                             |   39.39 |        0 |       0 |   39.39 | 50-121                                                                                                              
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                              
  RequestForm.tsx                            |   50.75 |       30 |   40.74 |   51.16 | 86-93,98-122,129-131,135-137,149-160,171-174,181-184,191-218,262-297,323,368-381,409-450                            
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                     
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                     
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                     
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks/components                   |   66.66 |       55 |   46.66 |   66.88 |                                                                                                                     
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                                  
  TaskDetailModal.tsx                        |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,222-324                                                                         
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                     
 features/auth/pages                         |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                     
  Login.tsx                                  |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                                
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                                   
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                     
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                           
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,240-277                                                                          
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                                  
 features/requestDevices/components          |   77.71 |    61.97 |   61.53 |   78.57 |                                                                                                                     
  DetailModal.tsx                            |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,208                                                                                                     
  MyRequestTable.tsx                         |      75 |    58.33 |   60.46 |   75.78 | 218,225,252-253,257-258,262-266,270-287,308-461                                                                     
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                     
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                              
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                             
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                               
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                     
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                                   
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                                   
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                                  
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                     
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                               
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                     
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 utils                                       |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                     
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                     
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                                  
  extractContent.ts                          |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                                
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                               
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                               
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                     
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                                   
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                                
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                             
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                                
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                               
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------