Closed ksmontville closed 1 week ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
šµ | Lines | 0.98% | 73 / 7431 |
šµ | Statements | 0.9% | 74 / 8165 |
šµ | Functions | 0.77% | 14 / 1812 |
šµ | Branches | 0.44% | 20 / 4454 |
Passed #7902
•
00db06d5df: E2E Tests for PR 856 "Component Tests for RoarDataTable" from commit "00db06d5df...
Project |
roar-dashboard-e2e
|
Run status |
Passed #7902
|
Run duration | 03m 32s |
Commit |
00db06d5df: E2E Tests for PR 856 "Component Tests for RoarDataTable" from commit "00db06d5df...
|
Committer | Kyle |
View all properties for this run āļø |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
32
|
Visit the preview URL for this PR (updated for commit 00db06d):
https://roar-staging--pr856-score-report-filteri-6ev85wqy.web.app
(expires Mon, 14 Oct 2024 21:47:01 GMT)
š„ via Firebase Hosting GitHub Action š
Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460
Proposed changes
This PR introduces component tests for
RoarDataTable.vue
component. It creates randomized mock input data which is used to test the various filtering functions of the component.This PR also refactors the
filterbar
slot ofRoarDataTable.vue
into its own componentFilterBar.vue
. This component uses a new composable functionuseFilteredTableData.js
which handles the filtering logic.There are also some small changes to the Cypress directory structure.
Overall, this PR helps to simplify the
ScoreReports.vue
component and makes the filtering tests forRoarDataTable.vue
more resilient.MAJOR CHANGES:
Checklist
Justification of missing checklist items
Further comments