mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat: Send node execution finished and node execution data in separate events (no-changelog) (#18875)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -76,8 +76,9 @@ export function clickOpenNdvAtRow(rowIndex: number) {
|
||||
}
|
||||
|
||||
export function clickTriggerPartialExecutionAtRow(rowIndex: number) {
|
||||
getLogEntries().eq(rowIndex).scrollIntoView();
|
||||
getLogEntries().eq(rowIndex).realHover();
|
||||
getLogEntries().eq(rowIndex).find('[aria-label="Execute step"]').click();
|
||||
getLogEntries().eq(rowIndex).find('[aria-label="Execute step"]').click({ force: true });
|
||||
}
|
||||
|
||||
export function setInputDisplayMode(mode: 'table' | 'ai' | 'json' | 'schema') {
|
||||
|
||||
@@ -117,10 +117,19 @@ export function runMockWorkflowExecution({
|
||||
nodeName,
|
||||
data: pick(nodeRunData, ['startTime', 'executionIndex', 'source', 'hints']),
|
||||
});
|
||||
const { data: _, ...taskData } = nodeRunData;
|
||||
const itemCount = nodeRunData.data?.main?.[0]?.length ?? 0;
|
||||
cy.push('nodeExecuteAfter', {
|
||||
executionId,
|
||||
nodeName,
|
||||
data: taskData,
|
||||
itemCount,
|
||||
});
|
||||
cy.push('nodeExecuteAfterData', {
|
||||
executionId,
|
||||
nodeName,
|
||||
data: nodeRunData,
|
||||
itemCount,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user