mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Always save evaluation executions (#16285)
This commit is contained in:
@@ -618,7 +618,16 @@ describe('TestRunnerService', () => {
|
|||||||
pinData: {
|
pinData: {
|
||||||
[triggerNodeName]: [testCase],
|
[triggerNodeName]: [testCase],
|
||||||
},
|
},
|
||||||
workflowData: workflow,
|
workflowData: {
|
||||||
|
...workflow,
|
||||||
|
settings: {
|
||||||
|
...workflow.settings,
|
||||||
|
saveManualExecutions: true,
|
||||||
|
saveDataErrorExecution: 'all',
|
||||||
|
saveDataSuccessExecution: 'all',
|
||||||
|
saveExecutionProgress: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
userId: metadata.userId,
|
userId: metadata.userId,
|
||||||
partialExecutionVersion: 2,
|
partialExecutionVersion: 2,
|
||||||
triggerToStartFrom: {
|
triggerToStartFrom: {
|
||||||
@@ -742,7 +751,16 @@ describe('TestRunnerService', () => {
|
|||||||
pinData: {
|
pinData: {
|
||||||
[triggerNodeName]: [testCase],
|
[triggerNodeName]: [testCase],
|
||||||
},
|
},
|
||||||
workflowData: workflow,
|
workflowData: {
|
||||||
|
...workflow,
|
||||||
|
settings: {
|
||||||
|
...workflow.settings,
|
||||||
|
saveManualExecutions: true,
|
||||||
|
saveDataErrorExecution: 'all',
|
||||||
|
saveDataSuccessExecution: 'all',
|
||||||
|
saveExecutionProgress: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
userId: metadata.userId,
|
userId: metadata.userId,
|
||||||
partialExecutionVersion: 2,
|
partialExecutionVersion: 2,
|
||||||
triggerToStartFrom: {
|
triggerToStartFrom: {
|
||||||
|
|||||||
@@ -189,7 +189,16 @@ export class TestRunnerService {
|
|||||||
const data: IWorkflowExecutionDataProcess = {
|
const data: IWorkflowExecutionDataProcess = {
|
||||||
executionMode: 'evaluation',
|
executionMode: 'evaluation',
|
||||||
pinData,
|
pinData,
|
||||||
workflowData: workflow,
|
workflowData: {
|
||||||
|
...workflow,
|
||||||
|
settings: {
|
||||||
|
...workflow.settings,
|
||||||
|
saveManualExecutions: true,
|
||||||
|
saveDataErrorExecution: 'all',
|
||||||
|
saveDataSuccessExecution: 'all',
|
||||||
|
saveExecutionProgress: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
userId: metadata.userId,
|
userId: metadata.userId,
|
||||||
partialExecutionVersion: 2,
|
partialExecutionVersion: 2,
|
||||||
triggerToStartFrom: {
|
triggerToStartFrom: {
|
||||||
|
|||||||
Reference in New Issue
Block a user