cypress_test/integration_tests/desktop/copy_paste_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dfd44336b072f33829ab4d83df79bcdf3a202e3d Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Mon Feb 17 18:05:28 2020 +0100 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Mon Feb 17 18:06:57 2020 +0100 cypress: desktop: Fix-up copy-paste test. Change-Id: I936315ae60e0f1bcd245fa8c361a511a690809a8 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88877 Tested-by: Tamás Zolnai <tamas.zol...@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/cypress_test/integration_tests/desktop/copy_paste_spec.js b/cypress_test/integration_tests/desktop/copy_paste_spec.js index 4f7ae7461..1f45bc0a7 100644 --- a/cypress_test/integration_tests/desktop/copy_paste_spec.js +++ b/cypress_test/integration_tests/desktop/copy_paste_spec.js @@ -21,7 +21,7 @@ describe('Clipboard operations.', function() { .then(function(marker) { expect(marker).to.have.lengthOf(2); var XPos = (marker[0].getBoundingClientRect().right + marker[1].getBoundingClientRect().left) / 2; - var YPos = marker[0].getBoundingClientRect().top; + var YPos = marker[0].getBoundingClientRect().top - 5; cy.wait(200); cy.get('body').rightclick(XPos, YPos); }); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits