From bf06bdf71a66c6da70cb8784d049008d5cfd2ece Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 22 Feb 2022 23:05:18 +0530 Subject: [PATCH] Fix tests --- cypress/integration/loadSite.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/loadSite.spec.ts b/cypress/integration/loadSite.spec.ts index 3660906d..8eff5f1c 100644 --- a/cypress/integration/loadSite.spec.ts +++ b/cypress/integration/loadSite.spec.ts @@ -78,7 +78,7 @@ describe('Site Loads', () => { it('should allow persisting "securityLevel" using confirm dialogue', () => { const b64State = toBase64( - `{"code":"flowchart TD\\nA[\\"\\"]","mermaid":"{\\"securityLevel\\": \\"loose\\", \\"theme\\": \\"forest\\"}","updateEditor":true,"autoSync":true,"updateDiagram":true}`, + `{"code":"graph TD\\nA[\\"\\"]","mermaid":"{\\"securityLevel\\": \\"loose\\", \\"theme\\": \\"forest\\"}","updateEditor":true,"autoSync":true,"updateDiagram":true}`, true ); cy.on('window:confirm', () => false);