cypress_test/integration_tests/common/helper.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a6e2ca178083f7d0ab78e31c21860b13d349c352
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Tue Aug 11 15:18:11 2020 +0200
Commit:     Tamás Zolnai <tamas.zol...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zol...@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') {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to