[Libreoffice-commits] online.git: cypress_test/integration_tests

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon May 18 08:36:59 UTC 2020


 cypress_test/integration_tests/mobile/calc/alignment_options_spec.js  |    8 +++++++-
 cypress_test/integration_tests/mobile/writer/shape_properties_spec.js |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 29b08b31d7460b6dbdeb3dcb5fca193abcabdc2e
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon May 18 10:25:44 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon May 18 10:36:36 2020 +0200

    Revert "cypress: enable some more tests."
    
    This reverts commit 53e887d193c5361c4152dcee55a1a43271c518f8.
    
    Change-Id: I184e9e44975596e3b05a7beb45a16e79ea22f282
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94280
    Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js b/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js
index 6d854372d..a3b5c0165 100644
--- a/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/alignment_options_spec.js
@@ -219,7 +219,8 @@ describe('Change alignment settings.', function() {
 			});
 	});
 
-	it('Change text indent via input field.', function() {
+	it.skip('Change text indent via input field.', function() {
+		// TODO: this fails, because the input field always becomes disabled.
 		helper.initAliasToNegative('originalTextPos');
 
 		getTextPosForFirstCell();
@@ -232,6 +233,11 @@ describe('Change alignment settings.', function() {
 		openAlignmentPaneForFirstCell();
 
 		// TODO: First we need to increase indent to make the input enabled
+		cy.get('#IncrementIndent')
+			.click();
+
+		cy.wait(300);
+
 		cy.get('#IncrementIndent')
 			.click();
 
diff --git a/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
index 5ed397d1d..d54869074 100644
--- a/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/shape_properties_spec.js
@@ -113,7 +113,7 @@ describe('Change shape properties via mobile wizard.', function() {
 			.should('have.attr', 'd', 'M 1965,4863 L 7957,18073 1965,18073 1965,4863 1965,4863 Z');
 	});
 
-	it('Change size with keep ratio enabled.', function() {
+	it.skip('Change size with keep ratio enabled.', function() {
 		// TODO: Entering a value inside the spinbutton has no effect on the shape.
 		if (Cypress.env('LO_CORE_VERSION') === 'master')
 			return;


More information about the Libreoffice-commits mailing list