DEV: removes very frequent flakey spec (#21696)
This commit is contained in:
parent
2a7dae51fa
commit
c543a3207d
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Reference in New Issue