Prasad P. Pawar created ATLAS-5173:
--------------------------------------
Summary: React UI: Improve Test Coverage for Atlas Dashboard React
Application
Key: ATLAS-5173
URL: https://issues.apache.org/jira/browse/ATLAS-5173
Project: Atlas
Issue Type: Task
Components: atlas-webui
Affects Versions: 3.0.0
Reporter: Prasad P. Pawar
Assignee: Prasad P. Pawar
Implement comprehensive test coverage for the Atlas React application to ensure
code quality, reliability, and maintainability. The goal is to achieve 85%+
code coverage across all components, views, Redux slices, and critical user
workflows.
ThisĀ covers:
1. Unit test implementation for React components (Forms, Tables, Views)
2. Redux slice test implementation
3. Integration test implementation
4. End-to-End (E2E) test implementation using Cypress
5. Test infrastructure setup and configuration
6. Test documentation and running guides
7. Code coverage reporting and monitoring
## Technical Stack
- **Unit Testing**: Jest + React Testing Library
- **E2E Testing**: Cypress
- **Coverage Tool**: Istanbul (via Jest)
- **Test Runner**: Jest (via ts-jest)
## Dependencies
- React 18.3.1
- TypeScript 5.2.2
- Redux Toolkit 2.2.6
- Material-UI 5.15.15
## Acceptance Criteria
1. All test files follow project naming conventions (`*.test.tsx`, `*.test.ts`)
2. Tests are organized in `__tests__` directories
3. Coverage reports are generated in HTML and LCOV formats
4. Test documentation includes running instructions and troubleshooting
5. All tests pass without errors
6. No build failures introduced by test code
--
This message was sent by Atlassian Jira
(v8.20.10#820010)