sravani-revuri opened a new pull request, #11825:
URL: https://github.com/apache/ozone/pull/11825

   ## What changes were proposed in this pull request?
   addition of UI tests for the Heatmap page in Ozone Recon.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-9796
   
   ## How was this patch tested?
   
   Ran test.
   
   ```
    ✓ src/__tests__/heatmap/HeatmapPlot.test.tsx > HeatmapPlot tooltips > shows 
size, access count, and entity name for a leaf tile (hover tooltip content) 6ms
    ✓ src/__tests__/heatmap/HeatmapPlot.test.tsx > HeatmapPlot tooltips > shows 
max access count for a non-leaf group tile (hover tooltip content) 1ms
    ✓ src/__tests__/heatmap/HeatmapPlot.test.tsx > HeatmapPlot tooltips > uses 
entity type in chart title 1ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > renders header, 
filters, legend, and heatmap plot with data 66ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > shows validation 
error for invalid path characters 71ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > fetches heatmap 
for a new path when the user searches 47ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > does not fetch 
when searching with an empty path 69ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > drills down into 
the clicked entity and updates the path input 17ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > refetches heatmap 
when the entity type is changed 180ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > refetches heatmap 
when the time period is changed 176ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > shows no data 
warning when the API returns empty labels 39ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > shows disabled 
state when heatmap API returns 404 6ms
    ✓ src/__tests__/heatmap/Heatmap.test.tsx > Heatmap page > shows fetch error 
state when heatmap API returns 500 9ms
   
    Test Files  2 passed (2)
         Tests  13 passed (13)
      Start at  19:39:47
      Duration  2.74s (transform 129ms, setup 163ms, import 2.33s, tests 690ms, 
environment 620ms)
   ```


-- 
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