mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
This reverts commit ddf4ecba04f3c6396615506ec595650f14986758. Causing a flaky test to appear: ``` main $ LOAD_PLUGINS=1 rspec plugins/chat/spec/system/chat/composer/shortcuts/channel_spec.rb Randomized with seed 17765 .....F.. Failures: 1) Chat | composer | shortcuts | channel when using ArrowUp when last message is staged does not edit a message Failure/Error: channel_page.send_message expected `#<PageObjects::Components::Chat::Messages:0x00007fe823ac1710 @context=".chat-channel">.has_message?({:persisted=>true, :text=>"2"})` to be truthy, got false [Screenshot Image]: /home/tgxworld/work/discourse/tmp/capybara/failures_r_spec_example_groups_chat_composer_shortcuts_channel_when_using_arrow_up_when_last_message_is_staged_does_not_edit_a_message_148.png ```
This commit is contained in:

committed by
GitHub

parent
0494157452
commit
30e4ebd19b
@ -141,7 +141,7 @@ RSpec.describe "Quoting chat message transcripts", type: :system, js: true do
|
||||
|
||||
clip_text = copy_messages_to_clipboard(message_1)
|
||||
click_selection_button("cancel")
|
||||
chat_channel_page.send_message(clip_text, check_message_presence: false)
|
||||
chat_channel_page.send_message(clip_text)
|
||||
|
||||
expect(page).to have_selector(".chat-message", count: 2)
|
||||
expect(page).to have_css(".chat-transcript")
|
||||
|
Reference in New Issue
Block a user