From 76e17ffd203939e2fee6e84d1dc389967b3b47e5 Mon Sep 17 00:00:00 2001 From: darshanr0107 Date: Wed, 15 Oct 2025 18:56:49 +0530 Subject: [PATCH] fix: add validation to ensure correct casing of 'viewBox' in all rendering tests on-behalf-of: @Mermaid-Chart --- cypress/helpers/util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/helpers/util.ts b/cypress/helpers/util.ts index ab4bbef64..035526a40 100644 --- a/cypress/helpers/util.ts +++ b/cypress/helpers/util.ts @@ -98,6 +98,7 @@ export const openURLAndVerifyRendering = ( cy.visit(url); cy.window().should('have.property', 'rendered', true); cy.get('svg').should('be.visible'); + cy.get('svg').should('not.have.attr', 'viewbox'); if (validation) { cy.get('svg').should(validation);