Skip to content

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

DEV: removes very frequent flakey spec (#21696)

Joffrey JAFFEUXc543a3207dcf
diff --git a/plugins/chat/spec/system/archive_channel_spec.rb b/plugins/chat/spec/system/archive_channel_spec.rb
index 63228a646b3..fe01e1f57ac 100644
--- a/plugins/chat/spec/system/archive_channel_spec.rb
+++ b/plugins/chat/spec/system/archive_channel_spec.rb
@@ -64,20 +64,6 @@ RSpec.describe "Archive channel", type: :system, js: true do
expect(page).to have_css(".chat-channel-archive-status", wait: 15)
end
- it "shows an error when the topic is invalid" do
- Jobs.run_immediately!
-
- chat.visit_channel_settings(channel_1)
- click_button(I18n.t("js.chat.channel_settings.archive_channel"))
- find("#split-topic-name").fill_in(
- with: "An interesting topic for cats :cat: :cat2: :smile_cat:",
- )
- click_button(I18n.t("js.chat.channel_archive.title"))
-
- expect(page).to have_no_content(I18n.t("js.chat.channel_archive.process_started"))
- expect(page).to have_content("Title can't have more than 1 emoji")
- end
-
context "when archived channels had unreads" do
before { channel_1.add(current_user) }