mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Testing flaky resource mapper feature in e2e tests (#7165)
This commit is contained in:
committed by
GitHub
parent
0c6169ee22
commit
aaf87c3edd
@@ -202,6 +202,14 @@ export class E2eTest implements INodeType {
|
||||
};
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const operation = this.getNodeParameter('operation', 0);
|
||||
// For resource mapper testing, return actual node values
|
||||
if (operation === 'resourceMapper') {
|
||||
const rmValue = this.getNodeParameter('resourceMapper.value', 0);
|
||||
if (rmValue) {
|
||||
return [[{ json: rmValue as INodeExecutionData }]];
|
||||
}
|
||||
}
|
||||
return [returnData];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user