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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 11 17:27:00 UTC 2020


 cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user1_spec.js |   10 ----------
 cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user2_spec.js |    8 --------
 2 files changed, 18 deletions(-)

New commits:
commit e4a40a515bab15fa15f9822f3bf30c484ae61631
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Aug 11 18:46:53 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Aug 11 19:26:42 2020 +0200

    cypress: stabilize simultaneous typing test.
    
    Change-Id: I1ce16b16fcab38fd63255d18de257ece5977c9be
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100544
    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/multiuser/writer/simultaneous_typing_user1_spec.js b/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user1_spec.js
index 517b98b48..8cccd8dc4 100644
--- a/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user1_spec.js
+++ b/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user1_spec.js
@@ -33,16 +33,6 @@ describe('Simultaneous typing: user-1.', function() {
 
 		cy.get('#copy-paste-container p')
 			.should('contain.text', text);
-
-		// Change paragraph alignment to trigger user-2 actions
-		helper.moveCursor('up');
-
-		cy.get('#tb_editbar_item_centerpara .w2ui-button')
-			.click();
-
-		// user-2 changes the paragraph alignment after finished
-		cy.get('#tb_editbar_item_rightpara .w2ui-button')
-			.should('have.class', 'checked');
 	});
 
 });
diff --git a/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user2_spec.js b/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user2_spec.js
index d8cc961c7..e7d79872b 100644
--- a/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user2_spec.js
+++ b/cypress_test/integration_tests/multiuser/writer/simultaneous_typing_user2_spec.js
@@ -33,13 +33,5 @@ describe('Simultaneous typing: user-2.', function() {
 
 		cy.get('#copy-paste-container p')
 			.should('contain.text', text);
-
-		// user-1 changes the paragraph alignment after finished
-		cy.get('#tb_editbar_item_centerpara .w2ui-button')
-			.should('have.class', 'checked');
-
-		// Change paragraph alignment to trigger user-2 actions
-		cy.get('#tb_editbar_item_rightpara .w2ui-button')
-			.click();
 	});
 });


More information about the Libreoffice-commits mailing list