DEV: Fix reply to spec (#22581)

Not sure how this was even working previously, since it's trying
to press the reply button on a thread original message, which doesn't
work, you need to click the indicator to open the thread.
This commit is contained in:
Martin Brennan 2023-07-13 12:24:44 +10:00 committed by GitHub
parent 31073c715b
commit cdfa2b4aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ RSpec.describe "Reply to message - channel - mobile", type: :system, mobile: tru
expect(channel_page.message_thread_indicator(original_message)).to have_reply_count(1) expect(channel_page.message_thread_indicator(original_message)).to have_reply_count(1)
channel_page.reply_to(original_message) channel_page.message_thread_indicator(original_message).click
thread_page.send_message("reply to message") thread_page.send_message("reply to message")
expect(thread_page.messages).to have_message(text: message_1.message) expect(thread_page.messages).to have_message(text: message_1.message)