test
This commit is contained in:
parent
f43dd753ba
commit
f5ca3a9b14
@ -137,7 +137,8 @@ RSpec.describe "Quoting chat message transcripts", type: :system, js: true do
|
||||
within(".d-editor-preview") { expect(page).to have_css(".chat-transcript", count: 2) }
|
||||
expect(page).to have_content("Originally sent in #{chat_channel_1.name}")
|
||||
|
||||
find("#reply-control .save-or-cancel .create").click
|
||||
# find("#reply-control .save-or-cancel .create").click
|
||||
topic_page.send_reply
|
||||
|
||||
selector = topic_page.post_by_number_selector(2)
|
||||
expect(page).to have_css(selector)
|
||||
|
||||
@ -106,7 +106,9 @@ module PageObjects
|
||||
end
|
||||
|
||||
def send_reply
|
||||
within("#reply-control") { find(".save-or-cancel .create").click }
|
||||
within("#reply-control") do |reply_control|
|
||||
reply_control.find(".save-or-cancel .create").click
|
||||
end
|
||||
end
|
||||
|
||||
def fill_in_composer_title(title)
|
||||
|
||||
Reference in New Issue
Block a user