From 2454a251cd4ffefafb0bb1d13015b0474c910b7d Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 14 Dec 2022 16:43:51 +1000 Subject: [PATCH] use reply_control in one test --- plugins/chat/spec/system/transcript_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/chat/spec/system/transcript_spec.rb b/plugins/chat/spec/system/transcript_spec.rb index adcaccf426..c0abd881b4 100644 --- a/plugins/chat/spec/system/transcript_spec.rb +++ b/plugins/chat/spec/system/transcript_spec.rb @@ -110,7 +110,8 @@ RSpec.describe "Quoting chat message transcripts", type: :system, js: true do within(".d-editor-preview") { expect(page).to have_css(".chat-transcript") } - find("#reply-control .save-or-cancel .create").click + topic_page.send_reply + # find("#reply-control .save-or-cancel .create").click selector = topic_page.post_by_number_selector(2) expect(page).to have_css(selector)