DEV: more reliable send message helper (#19594)
This commit is contained in:
parent
6ea6b385e0
commit
46b51ade83
|
@ -62,6 +62,7 @@ module PageObjects
|
|||
end
|
||||
|
||||
def send_message(text = nil)
|
||||
find(".chat-composer-input").click # makes helper more reliable by ensuring focus is not lost
|
||||
find(".chat-composer-input").fill_in(with: text)
|
||||
click_send_message
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue