chore: forbid use of viewbox in code

This commit is contained in:
Sidharth Vinod
2025-11-05 00:07:30 +07:00
parent 287a9a3fcb
commit 6546aed482
2 changed files with 3 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ export const openURLAndVerifyRendering = (
cy.visit(url);
cy.window().should('have.property', 'rendered', true);
cy.get('svg').should('be.visible');
// cspell:ignore viewbox
cy.get('svg').should('not.have.attr', 'viewbox');
if (validation) {