[Libreoffice-commits] online.git: cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 14 12:31:32 UTC 2020
cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 0139a7c2f468bbd21955a3adf0131706d10300ce
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Aug 14 13:54:12 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Aug 14 14:31:12 2020 +0200
cypress: improve selectAllMobile() method.
A bug occures when we remove a column selcetion.
The document freezes for seconds before it is
updated. Let's workaround it in cypress tests,
until it's fixed.
Change-Id: I5436c969655260d377d4ce47c86270ef15a15c2f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100740
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js b/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
index fb1c8ef5c..70b4f1e67 100644
--- a/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
+++ b/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
@@ -25,6 +25,11 @@ function selectAllMobile(removeSelection = true) {
var yPos = corner.height() - 10;
cy.get('#spreadsheet-header-corner')
.click(0, yPos);
+ // A known issue that removing a column selection
+ // triggers a small freeze of the document.
+ // So let's wait here to avoit timeout.
+ if (removeSelection)
+ cy.wait(3000);
});
cy.get('.spreadsheet-cell-resize-marker')
More information about the Libreoffice-commits
mailing list