UniversityOfSaskatchewanCMPT371 / term-project-2024-team-3

3 stars 2 forks source link

Made Login and SignUp pages responsive, fixed assertions on both page… #319

Closed glenntanjoh closed 6 months ago

glenntanjoh commented 6 months ago

Resolves #252

Made Login and Sign up pages responsive, fixed assertions on the pages and made see more arrow on homepage larger.

github-actions[bot] commented 6 months ago

Backend Code Coverage Report

Overall Project 29.85% :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
80.73% (+80.73% πŸ”Ό)
733/908
πŸ”΄ Branches
58.1% (+58.1% πŸ”Ό)
183/315
🟒 Functions
80.62% (+80.62% πŸ”Ό)
183/227
🟒 Lines
81.2% (+81.2% πŸ”Ό)
730/899
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / baseapi.ts
| 100% | 75% | 100% | 100% | | 🟒 | shared/api/Api.ts | 100% | 93.75% | 100% | 100% | | 🟒 |
`...` / useLogin.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / ErrorSnackbar.tsx
| 73.33% | 66.67% | 50% | 73.33% | | πŸ”΄ |
`...` / assert.ts
| 20% | 25% | 100% | 20% | | 🟑 |
`...` / LoginPage.tsx
| 78.05% | 70% | 61.54% | 77.5% | | 🟒 |
`...` / useSignup.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / SignUpPage.tsx
| 82.81% | 69.23% | 70.59% | 82.54% | | 🟑 |
`...` / index.ts
| 60% | 17.65% | 100% | 60% | | 🟒 |
`...` / PrivacyPolicy.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetUser.ts
| 91.67% | 100% | 83.33% | 91.67% | | 🟒 |
`...` / useLogout.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useDeleteAccount.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useDeleteData.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useChangePassword.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / confirm-modal.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / ConfirmModal.tsx
| 100% | 75% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / profile.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / ProfilePage.tsx
| 92.86% | 83.33% | 78.57% | 92.86% | | 🟒 |
`...` / index.tsx
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / FileDropzone.tsx
| 68.97% | 40% | 52.94% | 74.07% | | 🟒 |
`...` / 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% | | 🟒 |
`...` / useGetProcessedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / usePredictFile.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / useDownload.ts
| 46.88% | 0% | 75% | 50% | | πŸ”΄ |
`...` / ProcessedDataPage.tsx
| 49.32% | 29.73% | 66.67% | 49.32% | | 🟒 |
`...` / useGetUploadedFiles.ts
| 91.67% | 100% | 83.33% | 91.67% | | 🟒 |
`...` / useProcessFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / UploadedFiles.tsx
| 91.11% | 66.67% | 100% | 91.11% | | 🟒 |
`...` / loading-modal.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingModal.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / ProfileMenu.tsx
| 91.67% | 100% | 80% | 91.67% | | 🟒 |
`...` / Navbar.tsx
| 90.91% | 75% | 66.67% | 90.91% | | 🟑 |
`...` / HomePage.tsx
| 62.5% | 100% | 50% | 62.5% | | 🟒 |
`...` / ProtectedRoute.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetPredictedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Logout.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useUpload.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / AboutUs.tsx
| 85% | 66.67% | 100% | 85% | | 🟒 |
`...` / useDeleteFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / PredictedDataPage.tsx
| 87.76% | 54.17% | 90% | 87.76% | | πŸ”΄ |
`...` / FileUploadPage.tsx
| 45.45% | 25% | 40% | 45.45% | | 🟒 |
`...` / FileDropzoneControls.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / GoogleLogin.tsx
| 0% | 0% | 0% | 0% |

Test suite run success

144 tests passing in 43 suites.

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