From 822d2d66887f7748a2ca7e00e429faae50d2efbe Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 3 May 2022 10:17:44 +0200 Subject: [PATCH] test(minimap): wait for minimap --- cypress/integration/flow/minimap.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/integration/flow/minimap.spec.js b/cypress/integration/flow/minimap.spec.js index bff193da..06b91817 100644 --- a/cypress/integration/flow/minimap.spec.js +++ b/cypress/integration/flow/minimap.spec.js @@ -12,6 +12,8 @@ describe('Minimap Testing', () => { const paneNodes = Cypress.$('.react-flow__node').length; const minimapNodes = Cypress.$('.react-flow__minimap-node').length; + cy.wait(100); + expect(paneNodes).equal(minimapNodes); });