[Libreoffice-commits] online.git: cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 11 16:44:34 UTC 2020
cypress_test/integration_tests/common/helper.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a6e2ca178083f7d0ab78e31c21860b13d349c352
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Aug 11 15:18:11 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Aug 11 18:44:11 2020 +0200
cypress: improve moveCursor() helper method.
Allow zero as cursor position.
Change-Id: Icfcae959ab011b2e8ad76db424552a152d4267dc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100500
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/common/helper.js b/cypress_test/integration_tests/common/helper.js
index 51abe98a6..7cfce8f9f 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -450,7 +450,7 @@ function moveCursor(direction, forceType = false) {
}
cy.get('@origCursorPos')
- .should('be.greaterThan', 0);
+ .should('be.at.least', 0);
var key = '';
if (direction === 'up') {
More information about the Libreoffice-commits
mailing list