UniversityOfSaskatchewanCMPT371 / term-project-2024-team-3

3 stars 2 forks source link

fix playwright tests #318

Closed redwing14e closed 6 months ago

redwing14e commented 6 months ago

Resolves #317

Description

Fixed the playwright tests

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.69% (+80.69% πŸ”Ό)
723/896
πŸ”΄ Branches
58.1% (+58.1% πŸ”Ό)
183/315
🟒 Functions
81% (+81% πŸ”Ό)
179/221
🟒 Lines
81.21% (+81.21% πŸ”Ό)
722/889
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% | | 🟒 |
`...` / useSignup.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / assert.ts
| 20% | 25% | 100% | 20% | | 🟒 |
`...` / SignUpPage.tsx
| 83.05% | 69.23% | 71.43% | 83.05% | | 🟒 |
`...` / useLogin.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / ErrorSnackbar.tsx
| 73.33% | 66.67% | 50% | 73.33% | | 🟑 |
`...` / LoginPage.tsx
| 77.78% | 70% | 60% | 77.78% | | 🟑 |
`...` / 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% | | 🟑 |
`...` / HomePage.tsx
| 62.5% | 100% | 50% | 62.5% | | 🟒 |
`...` / 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% | | 🟒 |
`...` / useGetUploadedFiles.ts
| 91.67% | 100% | 83.33% | 91.67% | | 🟒 |
`...` / useProcessFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / UploadedFiles.tsx
| 91.11% | 66.67% | 100% | 91.11% | | 🟒 |
`...` / ProtectedRoute.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetPredictedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Logout.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / AboutUs.tsx
| 85% | 66.67% | 100% | 85% | | 🟒 |
`...` / useUpload.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / 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 d71e22dd8a0e59ce5c891cdbbbc79957b3f2a07b