cypress: make sure the cell selection is visible before run test steps.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3ce151f8ebe9405c5830630e941c94ab9ef2f7ae
This commit is contained in:
Tamás Zolnai 2021-01-29 12:17:30 +01:00 committed by Tamás Zolnai
parent f69448898a
commit 129ae61684

View file

@ -35,6 +35,10 @@ function enableEditingMobile() {
helper.doIfInCalc(function() {
cy.get('#formulabar')
.should('be.visible');
// we should have a cell selected here
cy.get('.spreadsheet-cell-resize-marker')
.should('be.visible');
});
// In writer, we should have the blinking cursor visible