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

   ### Task Summary
   
   
`frontend/src/app/workspace/component/workflow-editor/context-menu/context-menu/context-menu.component.ts`
 backs the canvas right-click menu and carries the copy, paste, cut, delete and 
export actions. 
   
   The component has a 262-line spec, but its 13 tests cover only 
`isSelectedOperatorValid` and `canExecuteOperator` plus a `should create` smoke 
test. None of `onCopy`, `onPaste`, `onCut`, `onDelete`, `hasHighlightedLinks` 
or `onClickExportHighlightedExecutionResult` is invoked by any test, so the 
whole action surface is unasserted. The only other spec that mentions the 
component is `workflow-editor.component.spec.ts`, which merely declares it in 
its `TestBed`.
   
   ### 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