diff --git a/cypress_test/integration_tests/multiuser/simultaneous_typing_user1_spec.js b/cypress_test/integration_tests/multiuser/simultaneous_typing_user1_spec.js index e618512dc..293617bf5 100644 --- a/cypress_test/integration_tests/multiuser/simultaneous_typing_user1_spec.js +++ b/cypress_test/integration_tests/multiuser/simultaneous_typing_user1_spec.js @@ -32,7 +32,7 @@ describe('Simultaneous typing: user-1.', function() { helper.selectAllText(); cy.get('#copy-paste-container p') - .should('have.text', text); + .should('contain.text', text); // Change paragraph alignment to trigger user-2 actions cy.get('textarea.clipboard') diff --git a/cypress_test/integration_tests/multiuser/simultaneous_typing_user2_spec.js b/cypress_test/integration_tests/multiuser/simultaneous_typing_user2_spec.js index 5e4eea2ee..dc4873d56 100644 --- a/cypress_test/integration_tests/multiuser/simultaneous_typing_user2_spec.js +++ b/cypress_test/integration_tests/multiuser/simultaneous_typing_user2_spec.js @@ -32,7 +32,7 @@ describe('Simultaneous typing: user-2.', function() { helper.selectAllText(); cy.get('#copy-paste-container p') - .should('have.text', text); + .should('contain.text', text); // user-1 changes the paragraph alignment after finished cy.get('#tb_editbar_item_centerpara .w2ui-button')