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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 3 14:42:52 UTC 2020


 cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js |   33 +++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

New commits:
commit ec273df5f7dfbab2ad878a4e07681419160efb12
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Jul 3 14:39:58 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Jul 3 16:42:43 2020 +0200

    cypress: test about dialog in calc (mobile)
    
    Change-Id: Iaf908ea775348e2135262c7bc532b94c1364bbae
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97864
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js b/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
index f8131da9e..81b239682 100644
--- a/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
@@ -373,4 +373,35 @@ describe('Trigger hamburger menu options.', function() {
 		cy.get('#toolbar-search')
 			.should('not.be.visible');
 	});
+
+	it('Check version information.', function() {
+		before('hamburger_menu.ods');
+
+		mobileHelper.openHamburgerMenu();
+
+		// Open about dialog
+		cy.contains('.menu-entry-with-icon', 'About')
+			.click();
+
+		cy.get('.vex-content')
+			.should('exist');
+
+		// Check the version
+		if (helper.getLOVersion() === 'master') {
+			cy.contains('#lokit-version', 'LibreOffice')
+				.should('exist');
+		} else if (helper.getLOVersion() === 'cp-6-2' ||
+				   helper.getLOVersion() === 'cp-6-4')
+		{
+			cy.contains('#lokit-version', 'Collabora Office')
+				.should('exist');
+		}
+
+		// Close about dialog
+		cy.get('.vex-close')
+			.click({force : true});
+
+		cy.get('.vex-content')
+			.should('not.exist');
+	});
 });
commit d33eead249c3fba8e33bced53dcce770c56f7e44
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Jul 3 14:35:01 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Jul 3 16:42:34 2020 +0200

    cypress: remove accidentally pushed only().
    
    Change-Id: I1b5a2a1cb56d15dacea34a480198c314598de899
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97863
    Tested-by: Jenkins
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js b/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
index 5d338631a..f8131da9e 100644
--- a/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/hamburger_menu_spec.js
@@ -317,7 +317,7 @@ describe('Trigger hamburger menu options.', function() {
 			.should('contain.text', 'Text');
 	});
 
-	it.only('Search some word.', function() {
+	it('Search some word.', function() {
 		before('hamburger_menu_search.ods');
 
 		mobileHelper.openHamburgerMenu();


More information about the Libreoffice-commits mailing list