devabhishekpal opened a new pull request, #6450:
URL: https://github.com/apache/ozone/pull/6450

   ## What changes were proposed in this pull request?
   HDDS-9790. Added UI unit tests for Recon Overview Page and AutoReloadPanel
   
   Please describe your PR in detail:
   * Currently we don't have any tests for Recon UI. This increases manual 
effort for validating UI fixes/changes.
   * This PR will add the initial setup required for adding tests using 
ReactTestingLibrary and Jest, along with some unit test cases for the Recon 
Overview page and the AutoReloadPanel component for Recon.
   * After we get good coverage of tests for basic scenarios, these can be run 
as a part of the CI checks to reduce manual effort in verifying changes, as 
well as providing an initial filter to catch bugs/errors early on.
   * It uses **RTL** library to provide test functionality and **Jest** as a 
test runner.
   * Along with that it will use **msw** to intercept API calls to endpoints 
and return mock responses to ensure a single static source of truth for testing.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-9790
   
   ## How was this patch tested?
   The patch was tested manually.
   <img width="666" alt="Screenshot 2024-03-27 at 23 51 13" 
src="https://github.com/apache/ozone/assets/43001336/2dbe855e-5df2-425e-b84e-7054f50ddeea";>
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to