mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
test(editor): Enable adding nodes in between any two nodes on canvas in e2e tests (no-changelog) (#5393)
* ⚡ Adding source and target test data to connection HTML elements * ⚡ Using new action to add node on the connection * 🔥 Removing leftover log * 🔥 Removing leftover test action * 👌 Refactoring to address PR feedback
This commit is contained in:
committed by
GitHub
parent
7e2f2f7453
commit
d05203db30
@@ -2182,6 +2182,15 @@ export default mixins(
|
||||
});
|
||||
},
|
||||
);
|
||||
setTimeout(() => {
|
||||
NodeViewUtils.addConnectionTestData(
|
||||
info.source,
|
||||
info.target,
|
||||
'canvas' in info.connection.connector
|
||||
? (info.connection.connector.canvas as HTMLElement)
|
||||
: undefined,
|
||||
);
|
||||
}, 0);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e); // eslint-disable-line no-console
|
||||
|
||||
Reference in New Issue
Block a user