cypress_test/integration_tests/common/mobile_helper.js | 12 ++++++++++++ 1 file changed, 12 insertions(+)
New commits: commit f99b6ae5dbf93a03e11755e0344642e1aedad300 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Thu Jun 18 20:17:30 2020 +0200 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Thu Jun 18 20:52:34 2020 +0200 cypress: make calc/bottom_toolbar_spec.js test more stable. Let's wait until all UI updating is finished, after editing is enabled. Change-Id: I57befdf0a873a189ba4555f384fa4dbee396f0b3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96625 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/cypress_test/integration_tests/common/mobile_helper.js b/cypress_test/integration_tests/common/mobile_helper.js index 8627cbd55..ca8ec398f 100644 --- a/cypress_test/integration_tests/common/mobile_helper.js +++ b/cypress_test/integration_tests/common/mobile_helper.js @@ -17,6 +17,18 @@ function enableEditingMobile() { cy.get('#tb_actionbar_item_mobile_wizard') .should('not.have.class', 'disabled'); + // Wait until all UI update is finished. + cy.get('#toolbar-down') + .should('be.visible'); + + cy.get('#document-container') + .then(function(doc) { + if (doc.hasClass('spreadsheet-document')) { + cy.get('#formulabar') + .should('be.visible'); + } + }); + cy.log('Enabling editing mode - end.'); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits