Skip to content

Add unit test coverage for UserWorkflowComponent #6357

Description

@aglinxinyuan

Task Summary

UserWorkflowComponent (frontend, dashboard/component/user/user-workflow/) is ~33% line-covered. Extend its spec to cover: deleteWorkflow, onClickDuplicateSelectedWorkflows (no-pid/with-pid/missing-wid/error), handleConfirmDeleteSelectedWorkflows, onClickOpenDownloadZip (+ error branch), local-file import (onClickUploadExistingWorkflowFromLocal: valid JSON / non-JSON / empty-name), zip import (handleZipUploads with a real in-test JSZip), nameWorkflow dedup, selection toggling/select-all/clear, setViewType persistence, tooltip updates, and the add/remove-workflow modal nzOnOk callbacks.

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