mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
test: Use nanoid instead of UUID in e2e tests for wf names (no-changelog) (#9717)
This commit is contained in:
5
cypress/utils/workflowUtils.ts
Normal file
5
cypress/utils/workflowUtils.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
export function getUniqueWorkflowName(workflowNamePrefix?: string) {
|
||||
return workflowNamePrefix ? `${workflowNamePrefix} ${nanoid(12)}` : nanoid(12);
|
||||
}
|
||||
Reference in New Issue
Block a user