A platform for community discussion. Free, open, simple.
DEV: Skip flaky chat transcript specs (#24607)
Jan Cernikde0c761516d7
diff --git a/plugins/chat/spec/lib/chat/channel_archive_service_spec.rb b/plugins/chat/spec/lib/chat/channel_archive_service_spec.rbindex 75cefaecb9a..921a394288e 100644--- a/plugins/chat/spec/lib/chat/channel_archive_service_spec.rb+++ b/plugins/chat/spec/lib/chat/channel_archive_service_spec.rb@@ -150,7 +150,7 @@ describe Chat::ChannelArchiveService doexpect(@channel_archive.chat_channel.chat_messages.count).to eq(0)end- it "creates the correct posts for a channel with messages and threads" do+ xit "creates the correct posts for a channel with messages and threads" docreate_messages(2)create_threaded_messages(6, title: "a new thread")create_messages(7)diff --git a/plugins/chat/spec/lib/chat/transcript_service_spec.rb b/plugins/chat/spec/lib/chat/transcript_service_spec.rbindex a87a2f58f90..b8d8be1cb00 100644--- a/plugins/chat/spec/lib/chat/transcript_service_spec.rb+++ b/plugins/chat/spec/lib/chat/transcript_service_spec.rb@@ -328,7 +328,7 @@ describe Chat::TranscriptService doMARKDOWNend- it "generates a chat transcript for threaded messages" do+ xit "generates a chat transcript for threaded messages" dothread = Fabricate(:chat_thread, channel: channel)thread_om =Fabricate(@@ -366,7 +366,7 @@ describe Chat::TranscriptService doMARKDOWNend- it "generates the correct markdown for multiple threads" do+ xit "generates the correct markdown for multiple threads" dochannel_message_1 =Fabricate(:chat_message, user: user1, chat_channel: channel, message: "I need ideas")thread_1 = Fabricate(:chat_thread, channel: channel)