mengw15 opened a new issue, #6551:
URL: https://github.com/apache/texera/issues/6551

   ### Task Summary
   
   
`frontend/src/app/workspace/component/power-button/computing-unit-selection.component.ts`
 (codecov ~59%) has a spec (prior coverage in #6347 / #5538, both closed) but 
~29 methods remain untested — mostly pure resource-display getters. **Extend 
it**. See `frontend/TESTING.md`.
   
   ### Behavior to add
   
   - pure resource getters (deterministic, easy wins): the `getCpu*` / 
`getMemory*` / `getGpuLimit` / `getJvmMemorySize` / `getSharedMemorySize` / 
`getBadgeColor` / `get*Status` / `get*Percentage` / `get*Unit` / `get*Value` 
family — assert output for sample unit inputs
   - `getCurrentComputingUnit*` accessors (cpu / memory / gpu limits + usage)
   - `trackByCuid` / `trackByIndex` — trackBy identity
   - `cancelEditingUnitName` / `getUnitStatusTooltip` / 
`openComputingUnitMetadataModal` / `scrollToBottomOfPipModal`
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other
   


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

Reply via email to