UniversityOfSaskatchewanCMPT371 / term-project-2024-team-3

3 stars 2 forks source link

Feature/255 user profile #286

Closed ralphgregorio closed 6 months ago

ralphgregorio commented 6 months ago

Resolves # (issue)

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

UAT Steps (if applicable)

If your changes are hard to follow, please describe how to manually test your changes as if a user was testing your changes.

github-actions[bot] commented 6 months ago

Backend Code Coverage Report

Overall Project 13.26% :x:

There is no coverage information present for the Files changed

github-actions[bot] commented 6 months ago

Frontend Code Coverage Report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
71.03% (+71.03% πŸ”Ό)
532/749
πŸ”΄ Branches
57.89% (+57.89% πŸ”Ό)
143/247
🟑 Functions
68.42% (+68.42% πŸ”Ό)
130/190
🟑 Lines
71.66% (+71.66% πŸ”Ό)
531/741
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / baseapi.ts
| 100% | 75% | 100% | 100% | | 🟒 | shared/api/Api.ts | 100% | 50% | 100% | 100% | | 🟒 |
`...` / useLogin.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / LoginPage.tsx
| 74.42% | 70% | 58.33% | 74.42% | | 🟒 |
`...` / useSignup.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / SignUpPage.tsx
| 80.3% | 69.23% | 68.75% | 80.3% | | 🟑 |
`...` / index.ts
| 78.95% | 58.33% | 100% | 78.95% | | 🟒 |
`...` / PrivacyPolicy.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useUpload.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / index.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / FileDropzone.tsx
| 1.72% | 0% | 0% | 1.85% | | 🟒 |
`...` / useIsUserLoggedIn.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useAuth.tsx
| 90% | 50% | 100% | 88.89% | | 🟒 |
`...` / HelpPopup.tsx
| 85.71% | 56.25% | 100% | 85.71% | | 🟒 |
`...` / ProgressBar.tsx
| 93.55% | 89.47% | 100% | 93.55% | | 🟒 |
`...` / confirm-modal.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / ConfirmModal.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetProcessedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / usePredictFile.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / useDownload.ts
| 45.45% | 0% | 75% | 48.39% | | πŸ”΄ |
`...` / ProcessedDataPage.tsx
| 49.33% | 29.73% | 66.67% | 49.33% | | 🟑 |
`...` / HomePage.tsx
| 62.5% | 100% | 50% | 62.5% | | 🟒 |
`...` / useGetUploadedFiles.ts
| 90.91% | 100% | 83.33% | 90.91% | | 🟒 |
`...` / useProcessFile.ts
| 100% | 50% | 100% | 100% | | 🟑 |
`...` / ErrorSnackbar.tsx
| 73.33% | 66.67% | 50% | 73.33% | | 🟒 |
`...` / UploadedFiles.tsx
| 91.11% | 66.67% | 100% | 91.11% | | 🟒 |
`...` / ProtectedRoute.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetPredictedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useLogout.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Logout.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / navbar.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / ProfileMenu.tsx
| 92.31% | 100% | 83.33% | 92.31% | | 🟒 |
`...` / Navbar.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useDeleteFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / FileDropzoneControls.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / PredictedDataPage.tsx
| 50% | 35.71% | 16.67% | 51.72% | | 🟒 |
`...` / profile.css
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / ProfilePage.tsx
| 37.5% | 66.67% | 11.11% | 37.5% | | πŸ”΄ |
`...` / FileUploadPage.tsx
| 45.45% | 25% | 40% | 45.45% | | πŸ”΄ |
`...` / GoogleLogin.tsx
| 0% | 0% | 0% | 0% |

Test suite run success

112 tests passing in 36 suites.

Report generated by πŸ§ͺjest coverage report action from d2e0d1316250ad9e3f1a150c99b2b3dbbbf7136a