Cypress Calc top bar: Add a wait for stability.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id686eb045b8bd65dd270677d0c6ff06b32d49274
This commit is contained in:
Gökay ŞATIR 2021-07-21 12:39:52 +03:00
parent 7ca0730e58
commit 275fad0dc3

View file

@ -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);