DEV: skip flaky chat specs (#30273)

while we figure out if we want to keep the feature or replace it with a simpler version.

Internal ref - t/144221
This commit is contained in:
Régis Hanol 2024-12-13 17:37:40 +01:00 committed by GitHub
parent d0df16535e
commit bdd4392c01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ describe Chat::DuplicateMessageValidator do
expect(message_blocked?("test")).to eq(false)
end
it "errors if the message meets the requirements for sensitivity 0.1" do
skip "errors if the message meets the requirements for sensitivity 0.1" do
SiteSetting.chat_duplicate_message_sensitivity = 0.1
chat_channel.update!(user_count: 100)
@ -34,7 +34,7 @@ describe Chat::DuplicateMessageValidator do
expect(message_blocked?(message)).to eq(false)
end
it "errors if the message meets the requirements for sensitivity 0.5" do
skip "errors if the message meets the requirements for sensitivity 0.5" do
SiteSetting.chat_duplicate_message_sensitivity = 0.5
chat_channel.update!(user_count: 57)
message = "this is a 21 char msg"
@ -53,7 +53,7 @@ describe Chat::DuplicateMessageValidator do
expect(message_blocked?(message)).to eq(false)
end
it "errors if the message meets the requirements for sensitivity 1.0" do
skip "errors if the message meets the requirements for sensitivity 1.0" do
SiteSetting.chat_duplicate_message_sensitivity = 1.0
chat_channel.update!(user_count: 5)
message = "10 char msg"