Skip to content

Add unit test coverage for OperatorMenuService #6367

Description

@aglinxinyuan

Task Summary

OperatorMenuService (frontend, workspace/service/operator-menu/) is ~30% line-covered. Extend its spec to cover the operator-menu actions over the workflow graph: disable/view-result/reuse-result toggle callbacks (both branches each), executeUpToOperator (no/one/many highlighted), saveHighlightedElements clipboard serialization (success + write rejection), and performPasteOperation (paste happy path incl. copy + position/overlap handling, empty clipboard, read rejection, and add-failure notification).

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions