diff --git a/cypress/helpers/util.ts b/cypress/helpers/util.ts index 885c733d8..52da4a72e 100644 --- a/cypress/helpers/util.ts +++ b/cypress/helpers/util.ts @@ -29,6 +29,7 @@ export const mermaidUrl = ( options: CypressMermaidConfig, api: boolean ): string => { + options.handDrawnSeed = 1; const codeObject: CodeObject = { code: graphStr, mermaid: options, @@ -65,7 +66,6 @@ export const imgSnapshotTest = ( : 'courier', messageFontFamily: 'courier', }, - handDrawnSeed: 1, }; const url: string = mermaidUrl(graphStr, options, api);