A platform for community discussion. Free, open, simple.
DEV: Restore chat draft specs (#39523)
Jarek Radosze563d49ad089
diff --git a/plugins/chat/spec/system/chat_composer_draft_spec.rb b/plugins/chat/spec/system/chat_composer_draft_spec.rbindex 8d7df18df8b..8f0136ec1d1 100644--- a/plugins/chat/spec/system/chat_composer_draft_spec.rb+++ b/plugins/chat/spec/system/chat_composer_draft_spec.rb@@ -25,12 +25,6 @@ RSpec.describe "Chat composer draft" dosign_in(current_user)end- xit "loads the draft" do- chat_page.visit_channel(channel_1)-- expect(channel_page.composer).to have_value("draft")- end-context "when loading another channel and back" dofab!(:channel_2, :chat_channel)@@ -121,9 +115,7 @@ RSpec.describe "Chat composer draft" do)end- # TODO: Failing consistently and often on CI, needs investigation.- # https://github.com/discourse/discourse/actions/runs/17905331817/job/50905399086- xit "loads the draft with replied to message" do+ it "loads the draft with replied to message" dochat_page.visit_channel(channel_1)expect(channel_page.composer).to have_value("draft")