A platform for community discussion. Free, open, simple.
DEV: fix failing specs (#35507)
Joffrey JAFFEUXc2e4cb30af30
diff --git a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb b/plugins/chat/spec/system/page_objects/chat/chat_channel.rbindex 5b07114b4b6..b900286d3bd 100644--- a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb+++ b/plugins/chat/spec/system/page_objects/chat/chat_channel.rb@@ -117,7 +117,7 @@ module PageObjectsdef send_message(text = nil)text ||= fake_chat_messagetext = text.chomp if text.present? # having \n on the end of the string counts as an Enter keypress- composer.fill_in(with: text)+ fill_composer(text)click_send_messageexpect(page).to have_no_css(".chat-message.-not-processed")textdiff --git a/plugins/chat/spec/system/page_objects/chat/chat_thread.rb b/plugins/chat/spec/system/page_objects/chat/chat_thread.rbindex 1c79bd8b290..ee49c7ac2db 100644--- a/plugins/chat/spec/system/page_objects/chat/chat_thread.rb+++ b/plugins/chat/spec/system/page_objects/chat/chat_thread.rb@@ -102,7 +102,7 @@ module PageObjectsdef send_message(text = nil)text ||= fake_chat_messagetext = text.chomp if text.present? # having \n on the end of the string counts as an Enter keypress- composer.fill_in(with: text)+ fill_composer(text)click_send_messageexpect(page).to have_no_css(".chat-message.-not-processed")click_composer