n8n/cypress/fixtures
Mutasem Aldmour 4b86926752
fix(editor): Fix copy/paste issue when switch node is in workflow (#8103)
## Summary
Fix bug where copy/pasting a node breaks the view. Issue seems to be
that copied workflow does not have Switch node when workflow is
rerendering..

<img width="1942" alt="Screenshot 2023-12-19 at 18 16 23"
src="https://github.com/n8n-io/n8n/assets/4711238/ad53b8ae-3693-4733-8f6b-7bc9e7b9d216">




## Related tickets and issues
[Linear ticket
ADO-1504](https://linear.app/n8n/issue/ADO-1504/unwanted-nodes-connections-after-copypaste-of-n8n-form-trigger)


## Review / Merge checklist
- [X] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [x] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.
2023-12-20 10:13:59 +01:00
..
Custom_credential.json
Custom_node.json
Custom_node_custom_credential.json
Custom_node_n8n_credential.json
Dummy_javascript.txt
Dummy_sql.txt
Ecommerce_starter_pack_template_collection.json
expression_with_paired_item_in_multi_input_node.json
Floating_Nodes.json
Lots_of_nodes.json
Manual_wait_set.json
NDV-test-select-input.json
Node_IO_filter.json
Onboarding_workflow.json
Plan_data_opt_in_trial.json
Suggested_Templates.json
Test_Template_1.json
Test_workflow-actions_paste-data.json
Test_workflow_1.json
Test_workflow_2.json
Test_workflow_3.json
Test_workflow_4_executions_view.json
Test_workflow_5.json
Test_workflow_filter.json
Test_workflow_form_switch.json fix(editor): Fix copy/paste issue when switch node is in workflow (#8103) 2023-12-20 10:13:59 +01:00
Test_workflow_ndv_errors.json
Test_workflow_ndv_version.json
Test_workflow_schema_test.json
Test_workflow_schema_test_pinned_data.json
Webhook_wait_set.json
workflow-with-unknown-credentials.json
workflow-with-unknown-nodes.json
Workflow_template_write_http_query.json