Comfy-Org / Comfy-Org/ComfyUI_frontend
Add copy/paste integration tests
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 702
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 512
Description
## Summary
Add comprehensive copy/paste integration (e2e) tests to improve coverage of paste behavior for all graph item types.
## Background
PR #9962 fixed the paste position for `LGraphGroup` instances and added a basic e2e test (`browser_tests/tests/groupCopyPaste.spec.ts`) scoped to that specific fix. However, broader copy/paste integration tests are still needed to cover the full range of copy/paste scenarios.
## Suggested Test Cases
- Copy/paste of `LGraphNode` items — verify they paste at cursor offset
- Copy/paste of `Reroute` items — verify they paste at cursor offset
- Copy/paste of `LGraphGroup` items — verify they paste at cursor offset (covered by #9962)
- Copy/paste of mixed selections (nodes + groups + reroutes)
- Edge cases: pasting with no selection, pasting multiple times, etc.
## References
- PR: https://github.com/Comfy-Org/ComfyUI_frontend/pull/9962
- Comment: https://github.com/Comfy-Org/ComfyUI_frontend/pull/9962#pullrequestreview-2712000000
Requested by @DrJKL
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-9969-Add-copy-paste-integration-tests-3246d73d36508102a6eef002732eed45) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.