sravani-revuri opened a new pull request, #11417: URL: https://github.com/apache/ozone/pull/11417
## What changes were proposed in this pull request? This task adds test for the container page on recon UI ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9793 ## How was this patch tested? Ran tests. ``` ✓ src/__tests__/containers/Containers.test.tsx (12 tests) 1814ms ✓ Containers Component (12) ✓ renders component correctly 217ms ✓ Loads data on mount 66ms ✓ loads missing containers on mount and updates highlights 62ms ✓ Renders table with correct number of rows 60ms ✓ Displays no data message if the missing containers API returns an empty array 65ms ✓ lazy-loads data when switching to under-replicated tab 205ms ✓ lazy-loads data when switching to over-replicated tab 134ms ✓ lazy-loads quasi closed containers when switching tabs 122ms ✓ Handles search input change 375ms ✓ Displays a message when no results match the search term 366ms ✓ Handles API errors gracefully by showing error message 51ms ✓ Handles API errors when loading under-replicated tab 89ms Test Files 1 passed (1) Tests 12 passed (12) Start at 11:26:25 Duration 5.18s (transform 129ms, setup 136ms, collect 2.19s, tests 1.81s, environment 537ms, prepare 124ms) ``` -- 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]
