From 275fad0dc3bdd67cdb7e86cd9b70c11a33d7838c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kay=20=C5=9EATIR?= Date: Wed, 21 Jul 2021 12:39:52 +0300 Subject: [PATCH] Cypress Calc top bar: Add a wait for stability. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gökay ŞATIR Change-Id: Id686eb045b8bd65dd270677d0c6ff06b32d49274 --- cypress_test/integration_tests/common/calc_helper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress_test/integration_tests/common/calc_helper.js b/cypress_test/integration_tests/common/calc_helper.js index 36114ec0c..391d6944b 100644 --- a/cypress_test/integration_tests/common/calc_helper.js +++ b/cypress_test/integration_tests/common/calc_helper.js @@ -56,6 +56,7 @@ function clickOnFirstCell(firstClick = true, dblClick = false) { }); if (firstClick && !dblClick) { + cy.wait(1000); cy.get('#test-div-overlay-cell-cursor-border-0') .should(function (elem) { expect(helper.Bounds.parseBoundsJson(elem.text()).left).to.be.equal(0);