[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 7 13:28:08 UTC 2020
cypress_test/integration_tests/desktop/calc/focus_spec.js | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit b958243c567f43587cf4ef316c569dbc2d6b01ed
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu Jun 11 20:55:21 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Aug 7 15:27:49 2020 +0200
cypress: update desktop/calc/focus_spec.js
Clicking on the formulabar is not a reliable way to move
the cursor to a specific text position.
Change-Id: I9ea48f4591707531a3dfdfb02b18d6fcb08921a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96163
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
(cherry picked from commit edf1b7d0d1160dc34091bcfecc7bd0c75fc81361)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100325
diff --git a/cypress_test/integration_tests/desktop/calc/focus_spec.js b/cypress_test/integration_tests/desktop/calc/focus_spec.js
index 649d2ceb9..821c612a9 100644
--- a/cypress_test/integration_tests/desktop/calc/focus_spec.js
+++ b/cypress_test/integration_tests/desktop/calc/focus_spec.js
@@ -60,6 +60,12 @@ describe('Calc focus tests', function() {
calc.clickOnFirstCell();
calc.clickFormulaBar();
helper.assertCursorAndFocus();
+
+ // Move cursor before text2
+ cy.get('textarea.clipboard').type('{end}');
+ for (var i = 0; i < 6; i++)
+ cy.get('textarea.clipboard').type('{leftarrow}');
+
var text3 = ' BAZINGA';
helper.typeText('textarea.clipboard', text3);
// Validate.
More information about the Libreoffice-commits
mailing list