From 4a49149aeebc8befdc6f8c3b22bd15998c39bac3 Mon Sep 17 00:00:00 2001 From: moklick Date: Thu, 5 Nov 2020 15:27:56 +0100 Subject: [PATCH] test(interaction): zoom out before check double click zoom --- cypress/integration/flow/interaction.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/integration/flow/interaction.spec.js b/cypress/integration/flow/interaction.spec.js index af43c228..f8a1b734 100644 --- a/cypress/integration/flow/interaction.spec.js +++ b/cypress/integration/flow/interaction.spec.js @@ -135,6 +135,7 @@ describe('Interaction Flow Rendering', () => { }); it('zooms by double click', () => { + cy.get('.react-flow__controls-zoomout').click(); const styleBeforeZoom = Cypress.$('.react-flow__nodes').css('transform'); cy.get('.react-flow__renderer')