From 53d99d1a26a93998aa391833ba5ce324672c3a5e Mon Sep 17 00:00:00 2001 From: Daniel Waterworth Date: Mon, 15 May 2023 00:51:25 -0500 Subject: [PATCH] DEV: Skip flaky tests (#21534) --- plugins/chat/spec/system/chat_composer_spec.rb | 2 +- plugins/chat/spec/system/uploads_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/chat/spec/system/chat_composer_spec.rb b/plugins/chat/spec/system/chat_composer_spec.rb index aa85c487644..1412d2d085f 100644 --- a/plugins/chat/spec/system/chat_composer_spec.rb +++ b/plugins/chat/spec/system/chat_composer_spec.rb @@ -179,7 +179,7 @@ RSpec.describe "Chat composer", type: :system, js: true do sign_in(current_user) end - it "adds the emoji to the composer" do + xit "adds the emoji to the composer" do chat.visit_channel(channel_1) channel.open_action_menu channel.click_action_button("emoji") diff --git a/plugins/chat/spec/system/uploads_spec.rb b/plugins/chat/spec/system/uploads_spec.rb index 0fc904b1fbc..cdb80e9af7b 100644 --- a/plugins/chat/spec/system/uploads_spec.rb +++ b/plugins/chat/spec/system/uploads_spec.rb @@ -51,7 +51,7 @@ describe "Uploading files in chat messages", type: :system, js: true do expect(Chat::Message.last.uploads.count).to eq(2) end - it "allows uploading a huge image file with preprocessing" do + xit "allows uploading a huge image file with preprocessing" do SiteSetting.composer_media_optimization_image_bytes_optimization_threshold = 200.kilobytes chat.visit_channel(channel_1) file_path = file_from_fixtures("huge.jpg", "images").path