Prasad P. Pawar created ATLAS-5177:
--------------------------------------
Summary: Implement Unit Tests for All Table Components
Key: ATLAS-5177
URL: https://issues.apache.org/jira/browse/ATLAS-5177
Project: Atlas
Issue Type: Sub-task
Components: atlas-webui
Affects Versions: 3.0.0
Reporter: Prasad P. Pawar
Assignee: Prasad P. Pawar
Objective
Implement unit tests for all table-related components to ensure table
functionality, pagination, filtering, and sorting work correctly.
Components to Test
1. TableLayout (covered in CHILD TICKET 2)
2. TablePagination
3. TableFilters
4. TableLoader
Acceptance Criteria
- ✅ All 4 table components have test files
- ✅ Each component has comprehensive test coverage
- ✅ Tests cover rendering, user interactions, and edge cases
- ✅ All tests pass successfully
- ✅ Code coverage for table components is 85%+
Test Files
- `src/components/Table/_{_}tests{_}_/TableLayout.test.tsx` (17 test cases)
- `src/components/Table/_{_}tests{_}_/TablePagination.test.tsx` (9 test cases)
- `src/components/Table/_{_}tests{_}_/TableFilters.test.tsx` (10 test cases)
- `src/components/Table/_{_}tests{_}_/TableLoader.test.tsx` (5 test cases)
Status
✅ *{*}COMPLETE{*}* - All table component tests have been implemented.
Estimated Test Cases
- Total: ~41 test cases
--
This message was sent by Atlassian Jira
(v8.20.10#820010)