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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 22 20:12:21 UTC 2020


 cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js |   36 ----------
 1 file changed, 1 insertion(+), 35 deletions(-)

New commits:
commit ce56626bea60b8268a19921ed280f2c56d9e02a5
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Jan 22 20:24:33 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Jan 22 21:12:02 2020 +0100

    cypress: Update mobile test cases.
    
    Mobile wizard was changed in the meantime.
    
    Change-Id: Ic4813b10f946e58878bbc2dd926570e2e712606a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87212
    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/mobile_wizard_state_spec.js b/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
index 90120145c..d9ed92c97 100644
--- a/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
+++ b/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
@@ -98,39 +98,6 @@ describe('Mobile wizard state tests', function() {
 			.should('have.class', 'checked');
 	});
 
-	it('Close mobile wizard by back button.', function() {
-		// Click on edit button
-		cy.get('#mobile-edit-button').click();
-
-		// Click on mobile wizard toolbar item
-		cy.get('#tb_actionbar_item_mobile_wizard')
-			.should('not.have.class', 'disabled')
-			.click();
-
-		// Mobile wizard is opened and it has any content
-		cy.get('#mobile-wizard-content')
-			.should('not.be.empty');
-		cy.get('#tb_actionbar_item_mobile_wizard table')
-			.should('have.class', 'checked');
-
-		// Close mobile wizard by clicking on the back button
-		cy.get('#mobile-wizard-back').click();
-		cy.get('#mobile-wizard')
-			.should('not.be.visible');
-		cy.get('#tb_actionbar_item_mobile_wizard table')
-			.should('not.have.class', 'checked');
-
-		// Open mobile wizard again
-		cy.get('#tb_actionbar_item_mobile_wizard')
-			.click();
-
-		// TODO: fix this bug
-		//cy.get('#mobile-wizard-content')
-		//	.should('not.be.empty');
-		cy.get('#tb_actionbar_item_mobile_wizard table')
-			.should('have.class', 'checked');
-	});
-
 	it('Close mobile wizard by context wizard.', function() {
 		// Click on edit button
 		cy.get('#mobile-edit-button').click();
@@ -141,8 +108,7 @@ describe('Mobile wizard state tests', function() {
 			.click();
 
 		// Mobile wizard is opened and it has any content
-		cy.get('.ui-header.level-0.mobile-wizard.ui-widget .ui-header-left')
-			.contains('Style');
+		cy.get('#Character');
 		cy.get('#tb_actionbar_item_mobile_wizard table')
 			.should('have.class', 'checked');
 


More information about the Libreoffice-commits mailing list