mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Use WebCrypto to generate all random numbers and strings (#9786)
This commit is contained in:
committed by
GitHub
parent
cfc4db00e3
commit
65c5609ab5
@@ -1,3 +1,4 @@
|
||||
import { nanoid } from 'nanoid';
|
||||
import type { IDataObject, IPinData, ITaskData, ITaskDataConnections } from 'n8n-workflow';
|
||||
import { clickExecuteWorkflowButton } from '../composables/workflow';
|
||||
|
||||
@@ -85,7 +86,7 @@ export function runMockWorkflowExecution({
|
||||
runData: Array<ReturnType<typeof createMockNodeExecutionData>>;
|
||||
workflowExecutionData?: ReturnType<typeof createMockWorkflowExecutionData>;
|
||||
}) {
|
||||
const executionId = Math.random().toString(36).substring(4);
|
||||
const executionId = nanoid(8);
|
||||
|
||||
cy.intercept('POST', '/rest/workflows/**/run', {
|
||||
statusCode: 201,
|
||||
|
||||
Reference in New Issue
Block a user