summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-12-08 17:07:46 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2020-12-08 20:21:36 +0100
commitc2d41174f6ae4958ea14f38fe8598d745a120614 (patch)
treeda0a1fbcd0179a729deeebc74a9993aed35ca75b
parentcypress: add helper methods for text selection. (diff)
downloadonline-c2d41174f6ae4958ea14f38fe8598d745a120614.tar.gz
online-c2d41174f6ae4958ea14f38fe8598d745a120614.zip
cypress: remove some unneeded assertions related to cell selection.
The visibility of the selection marker is already checked by clickOnFirstCell() method. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I5bf258b7c912ff1730b6d26900563ad8b454106f
-rw-r--r--cypress_test/integration_tests/mobile/calc/apply_font_spec.js3
-rw-r--r--cypress_test/integration_tests/mobile/calc/focus_spec.js6
-rw-r--r--cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js3
-rw-r--r--cypress_test/integration_tests/mobile/calc/number_format_spec.js3
4 files changed, 0 insertions, 15 deletions
diff --git a/cypress_test/integration_tests/mobile/calc/apply_font_spec.js b/cypress_test/integration_tests/mobile/calc/apply_font_spec.js
index a668c1e4c6..ccfc5c0526 100644
--- a/cypress_test/integration_tests/mobile/calc/apply_font_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/apply_font_spec.js
@@ -15,9 +15,6 @@ describe('Apply font changes.', function() {
calcHelper.clickOnFirstCell();
- cy.get('.leaflet-marker-icon')
- .should('be.visible');
-
// Open character properties
mobileHelper.openTextPropertiesPanel();
});
diff --git a/cypress_test/integration_tests/mobile/calc/focus_spec.js b/cypress_test/integration_tests/mobile/calc/focus_spec.js
index 8fb72a07c3..32de6dcc4e 100644
--- a/cypress_test/integration_tests/mobile/calc/focus_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/focus_spec.js
@@ -29,9 +29,6 @@ describe('Calc focus tests', function() {
// One tap on another cell -> no focus on the document
calcHelper.clickOnFirstCell();
- cy.get('.leaflet-marker-icon')
- .should('be.visible');
-
// No focus
cy.document().its('activeElement.tagName')
.should('be.eq', 'BODY');
@@ -62,9 +59,6 @@ describe('Calc focus tests', function() {
// One tap on a cell -> no document focus
calcHelper.clickOnFirstCell();
- cy.get('.leaflet-marker-icon')
- .should('be.visible');
-
// No focus
cy.document().its('activeElement.tagName')
.should('be.eq', 'BODY');
diff --git a/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
index e3b3435142..7613d501bd 100644
--- a/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
@@ -17,9 +17,6 @@ describe('Calc insertion wizard.', function() {
calcHelper.clickOnFirstCell();
- cy.get('.leaflet-marker-icon')
- .should('be.visible');
-
mobileHelper.openInsertionWizard();
});
diff --git a/cypress_test/integration_tests/mobile/calc/number_format_spec.js b/cypress_test/integration_tests/mobile/calc/number_format_spec.js
index f9b5eb25f5..58088242ed 100644
--- a/cypress_test/integration_tests/mobile/calc/number_format_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/number_format_spec.js
@@ -15,9 +15,6 @@ describe('Apply number formatting.', function() {
calcHelper.clickOnFirstCell();
- cy.get('.leaflet-marker-icon')
- .should('be.visible');
-
mobileHelper.openMobileWizard();
helper.clickOnIdle('#ScNumberFormatPropertyPanel');