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; } }