Skip to content

Commit

Permalink
Merge pull request #4847 from aloisklink/test/wait-for-4825-e2e-test-…
Browse files Browse the repository at this point in the history
…to-finish

Wait for `marker_unique_id.html` E2E test to render before taking a screenshot
  • Loading branch information
sidharthv96 authored Sep 19, 2023
2 parents 4201e47 + 335ba40 commit d6f1c11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/platform/marker_unique_id.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ <h1>Example</h1>
</pre>
<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({ startOnLoad: true, logLevel: 0 });
mermaid.initialize({ startOnLoad: false, logLevel: 0 });
await mermaid.run();

if (window.Cypress) {
window.rendered = true;
Expand Down

0 comments on commit d6f1c11

Please sign in to comment.