Skip to content

A platform for community discussion. Free, open, simple.

DEV: Skip flaky tests (#21534)

Daniel Waterworth53d99d1a26a9
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