From 63a91858e61667448a5063a155fe1c885b100591 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 31 Oct 2022 15:59:02 -0700 Subject: [PATCH] Minor test change. --- packages/editor/cypress/e2e/topicShape.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/cypress/e2e/topicShape.cy.js b/packages/editor/cypress/e2e/topicShape.cy.js index 40c79cfb..d24f89ca 100644 --- a/packages/editor/cypress/e2e/topicShape.cy.js +++ b/packages/editor/cypress/e2e/topicShape.cy.js @@ -9,7 +9,7 @@ context('Change Topic shape', () => { cy.get(`[aria-label="Topic Style"]`).trigger('mouseover'); cy.get(`[aria-label="Rectangle shape"]`).click(); - cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '0.0'); + cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').then(parseInt).should('be.a', 'number').should('eq', 0); cy.matchImageSnapshot('changeToSquareShape'); });