cypress_test/integration_tests/desktop/writer/form_field_spec.js |    8 
++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 6209a5369818e95b03262cddf990ac5e4014a565
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Mon Jun 8 21:38:30 2020 +0200
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Sat Aug 29 12:49:22 2020 +0200

    cypress: allow equality here.
    
    Change-Id: I4c08590c9ea062467d0112e0877bf1a018623269
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95858
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>
    (cherry picked from commit b289a2d3c589e3ddf5f49fef60439f56f46ca804)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101637

diff --git a/cypress_test/integration_tests/desktop/writer/form_field_spec.js 
b/cypress_test/integration_tests/desktop/writer/form_field_spec.js
index 2b17e3049..4c37068f9 100644
--- a/cypress_test/integration_tests/desktop/writer/form_field_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/form_field_spec.js
@@ -49,10 +49,10 @@ describe('Form field button tests.', function() {
                                        .should(function(frames) {
                                                
expect(frames).to.have.lengthOf(1);
                                                var frameRect = 
frames[0].getBoundingClientRect();
-                                               
expect(frameRect.top).to.be.lessThan(cursorRect.top);
-                                               
expect(frameRect.bottom).to.be.greaterThan(cursorRect.bottom);
-                                               
expect(frameRect.left).to.be.lessThan(cursorRect.left);
-                                               
expect(frameRect.right).to.be.greaterThan(cursorRect.right);
+                                               
expect(frameRect.top).to.at.most(cursorRect.top);
+                                               
expect(frameRect.bottom).to.be.at.least(cursorRect.bottom);
+                                               
expect(frameRect.left).to.at.most(cursorRect.left);
+                                               
expect(frameRect.right).to.be.at.least(cursorRect.right);
                                        });
                        });
        }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to