mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
✔️ Add one more test
This commit is contained in:
parent
4ad009214e
commit
a757b43854
|
@ -936,6 +936,29 @@ describe('Workflow', () => {
|
|||
value1: 'default-value1',
|
||||
},
|
||||
},
|
||||
{
|
||||
description: 'return resolved value when referencing another property with expression on another node (long "$node["{NODE}"].parameter" syntax)',
|
||||
input: {
|
||||
Node1: {
|
||||
parameters: {
|
||||
value1: 'valueNode1',
|
||||
}
|
||||
},
|
||||
Node2: {
|
||||
parameters: {
|
||||
value1: '={{$node["Node1"].parameter.value1}}a',
|
||||
},
|
||||
},
|
||||
Node3: {
|
||||
parameters: {
|
||||
value1: '={{$node["Node2"].parameter.value1}}b',
|
||||
},
|
||||
}
|
||||
},
|
||||
output: {
|
||||
value1: 'valueNode1ab',
|
||||
},
|
||||
},
|
||||
// TODO: Make that this test does not fail!
|
||||
// {
|
||||
// description: 'return resolved value when short "data" syntax got used in expression on paramter of not active node which got referenced by active one',
|
||||
|
|
Loading…
Reference in a new issue