A platform for community discussion. Free, open, simple.
DEV: more reliable send message helper (#19594)
Joffrey JAFFEUX46b51ade8375
diff --git a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb b/plugins/chat/spec/system/page_objects/chat/chat_channel.rbindex ebf544dcba7..8919b1ee46e 100644--- a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb+++ b/plugins/chat/spec/system/page_objects/chat/chat_channel.rb@@ -62,6 +62,7 @@ module PageObjectsenddef send_message(text = nil)+ find(".chat-composer-input").click # makes helper more reliable by ensuring focus is not lostfind(".chat-composer-input").fill_in(with: text)click_send_messageend