mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix race condition for updating node and workflow execution status (#14353)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -279,7 +279,7 @@ describe('NodeExecuteButton', () => {
|
||||
it('stops execution when clicking button while workflow is running', async () => {
|
||||
uiStore.isActionActive.workflowRunning = true;
|
||||
nodeTypesStore.isTriggerNode = () => true;
|
||||
workflowsStore.activeExecutionId = 'test-execution-id';
|
||||
workflowsStore.setActiveExecutionId('test-execution-id');
|
||||
workflowsStore.isNodeExecuting.mockReturnValue(true);
|
||||
workflowsStore.getNodeByName.mockReturnValue(
|
||||
mockNode({ name: 'test-node', type: SET_NODE_TYPE }),
|
||||
|
||||
Reference in New Issue
Block a user