DEV: removes very frequent flakey spec (#21696)

This commit is contained in:
Joffrey JAFFEUX 2023-05-23 17:45:10 +02:00 committed by GitHub
parent 2a7dae51fa
commit c543a3207d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions

View File

@ -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) }