diff --git a/cypress/platform/flow-elk.html b/cypress/platform/flow-elk.html
index 149e93951..4c3dea335 100644
--- a/cypress/platform/flow-elk.html
+++ b/cypress/platform/flow-elk.html
@@ -17,7 +17,12 @@
}
mermaid.initialize({
logLevel: 3,
+ startOnLoad: false,
});
+ await mermaid.run();
+ if (window.Cypress) {
+ window.rendered = true;
+ }