cypress_test/integration_tests/common/mobile_helper.js | 2 +- cypress_test/integration_tests/mobile/calc/calc_helper.js | 4 ++-- cypress_test/integration_tests/mobile/calc/spellchecking_spec.js | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-)
New commits: commit 35290a048748ff8e5d7ec64e9064df2392ae23f5 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Tue Apr 7 17:48:50 2020 +0200 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Tue Apr 7 18:06:11 2020 +0200 cypress: mobile: improve logging related to calc spellchecking test. Change-Id: I8a57e9d90eff157f22d0cb37a59a4059ac862fd7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91839 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/cypress_test/integration_tests/common/mobile_helper.js b/cypress_test/integration_tests/common/mobile_helper.js index 3f9b4aa72..53eac5d6d 100644 --- a/cypress_test/integration_tests/common/mobile_helper.js +++ b/cypress_test/integration_tests/common/mobile_helper.js @@ -67,7 +67,7 @@ function detectLOCoreVersion() { function longPressOnDocument(posX, posY) { cy.log('Emulating a long press - start.'); cy.log('Param - posX: ' + posX); - cy.log('Param - posX: ' + posY); + cy.log('Param - posY: ' + posY); cy.get('.leaflet-pane.leaflet-map-pane') .then(function(items) { diff --git a/cypress_test/integration_tests/mobile/calc/calc_helper.js b/cypress_test/integration_tests/mobile/calc/calc_helper.js index d3530f48c..12e20b6e0 100644 --- a/cypress_test/integration_tests/mobile/calc/calc_helper.js +++ b/cypress_test/integration_tests/mobile/calc/calc_helper.js @@ -72,7 +72,7 @@ function copyContentToClipboard() { } function removeTextSelection() { - cy.log('Removing all text - start.'); + cy.log('Removing text selection - start.'); // TODO: select all does not work with core/master // if we have a column selected @@ -90,7 +90,7 @@ function removeTextSelection() { .should('exist'); } - cy.log('Removing all text - end.'); + cy.log('Removing text selection - end.'); } function selectAllMobile() { diff --git a/cypress_test/integration_tests/mobile/calc/spellchecking_spec.js b/cypress_test/integration_tests/mobile/calc/spellchecking_spec.js index 379221e58..70a91270f 100644 --- a/cypress_test/integration_tests/mobile/calc/spellchecking_spec.js +++ b/cypress_test/integration_tests/mobile/calc/spellchecking_spec.js @@ -29,10 +29,13 @@ describe('Calc spell checking menu.', function() { cy.get('.leaflet-marker-icon') .then(function(markers) { expect(markers.length).to.have.greaterThan(1); + cy.log('Markers length: ' + markers.length); for (var i = 0; i < markers.length; i++) { if (markers[i].classList.contains('leaflet-selection-marker-start')) { + cy.log('Found start marker at pos: ' + markers[i].getBoundingClientRect().right); var XPos = markers[i].getBoundingClientRect().right + 10; } else if (markers[i].classList.contains('leaflet-selection-marker-end')) { + cy.log('Found end marker at pos: ' + markers[i].getBoundingClientRect().top); var YPos = markers[i].getBoundingClientRect().top - 10; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits