A platform for community discussion. Free, open, simple.
DEV: Fix flaky system test when expanding chat message actions on mobile (#22428)
Alan Guo Xiang Tan14517785b241
diff --git a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb b/plugins/chat/spec/system/page_objects/chat/chat_channel.rbindex fd2437d7c01..a80457dc6a7 100644--- a/plugins/chat/spec/system/page_objects/chat/chat_channel.rb+++ b/plugins/chat/spec/system/page_objects/chat/chat_channel.rb@@ -64,7 +64,7 @@ module PageObjectsenddef expand_message_actions_mobile(message, delay: 2)- message_by_id(message.id).click(delay: delay)+ find(message_by_id_selector(message.id)).find(".chat-message-content").click(delay: delay)enddef click_message_action_mobile(message, message_action)