A platform for community discussion. Free, open, simple.
DEV: Skip flaky visit-channel system tests (#22469)
Isaac Janzenb8cf50798b41
diff --git a/plugins/chat/spec/system/navigation_spec.rb b/plugins/chat/spec/system/navigation_spec.rbindex 4e318044c94..d739c55bd49 100644--- a/plugins/chat/spec/system/navigation_spec.rb+++ b/plugins/chat/spec/system/navigation_spec.rb@@ -120,7 +120,7 @@ RSpec.describe "Navigation", type: :system doendcontext "when collapsing full page with previous state" do- it "redirects to previous state" do+ xit "redirects to previous state" dovisit("/t/-/#{topic.id}")chat_page.open_from_headerchat_drawer_page.maximizediff --git a/plugins/chat/spec/system/visit_channel_spec.rb b/plugins/chat/spec/system/visit_channel_spec.rbindex 96a03b6b6e5..81e7cd1c14b 100644--- a/plugins/chat/spec/system/visit_channel_spec.rb+++ b/plugins/chat/spec/system/visit_channel_spec.rb@@ -61,7 +61,7 @@ RSpec.describe "Visit channel", type: :system doendcontext "when channel is not found" do- it "shows an error" do+ xit "shows an error" dovisit("/chat/c/-/999")expect(page).to have_content("Not Found") # this is not a translated key@@ -78,7 +78,7 @@ RSpec.describe "Visit channel", type: :system docontext "when channel is not accessible" docontext "when category channel" do- it "shows an error" do+ xit "shows an error" dochat.visit_channel(private_category_channel_1)expect(page).to have_content(I18n.t("invalid_access"))@@ -86,7 +86,7 @@ RSpec.describe "Visit channel", type: :system doendcontext "when direct message channel" do- it "shows an error" do+ xit "shows an error" dochat.visit_channel(inaccessible_dm_channel_1)expect(page).to have_content(I18n.t("invalid_access"))@@ -111,7 +111,7 @@ RSpec.describe "Visit channel", type: :system do)end- it "shows an error" do+ xit "shows an error" dochat.visit_channel(inaccessible_dm_channel_1)expect(page).to have_content(I18n.t("invalid_access"))