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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 3 05:38:01 UTC 2020


 cypress_test/integration_tests/common/helper.js             |    2 +-
 cypress_test/integration_tests/mobile/insert_object_spec.js |    6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

New commits:
commit e7d8c7456fb56188eb13df79a16f892cf2f19f2e
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Feb 3 06:23:55 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon Feb 3 06:37:36 2020 +0100

    cypress: mobile: Use a bigger mobile screen size.
    
    Change-Id: Ica3598dd2f963b46891114a67c76f0d4da205c11

diff --git a/cypress_test/integration_tests/common/helper.js b/cypress_test/integration_tests/common/helper.js
index 6c8163119..e9cc62328 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -9,7 +9,7 @@ function loadTestDoc(fileName, mobile) {
 	});
 
 	if (mobile === true) {
-		cy.viewport('iphone-3');
+		cy.viewport('iphone-6');
 	}
 
 	// Open test document
diff --git a/cypress_test/integration_tests/mobile/insert_object_spec.js b/cypress_test/integration_tests/mobile/insert_object_spec.js
index a0a2cafb1..19200f48c 100644
--- a/cypress_test/integration_tests/mobile/insert_object_spec.js
+++ b/cypress_test/integration_tests/mobile/insert_object_spec.js
@@ -48,9 +48,6 @@ describe('Insert objects via insertion wizard.', function() {
 		cy.get('.mobile-wizard.ui-text')
 			.should('be.visible');
 
-		// Scroll to the bottom
-		cy.get('#mobile-wizard-content').scrollTo(0, 1000);
-
 		// Push insert table button
 		cy.get('.inserttablecontrols button')
 			.should('be.visible')
@@ -73,9 +70,6 @@ describe('Insert objects via insertion wizard.', function() {
 		cy.get('.mobile-wizard.ui-text')
 			.should('be.visible');
 
-		// Scroll to the bottom
-		cy.get('#mobile-wizard-content').scrollTo(0, 1000);
-
 		// Change rows and columns
 		cy.get('.inserttablecontrols #rows .sinfieldcontrols .plus')
 			.click();


More information about the Libreoffice-commits mailing list