A platform for community discussion. Free, open, simple.
DEV: Skip a flaky rspec test (#35655)
Alan Guo Xiang Tan4924abed7246
diff --git a/spec/mailers/invite_mailer_spec.rb b/spec/mailers/invite_mailer_spec.rbindex d5ed6fa6ab5..fa3aa90e9f4 100644--- a/spec/mailers/invite_mailer_spec.rb+++ b/spec/mailers/invite_mailer_spec.rb@@ -76,7 +76,13 @@ RSpec.describe InviteMailer doendend- context "with template modifier" do+ # TODO: Very flaky test+ # 1) InviteMailer send_invite when inviting to site with template modifier allows plugins to customize the invite template+ # Failure/Error: expect(mail.subject).to eq("[Discourse] Custom Invite from Bruce Wayne (bruce0)")++ # expected: "[Discourse] Custom Invite from Bruce Wayne (bruce0)"+ # got: "[Discourse] Custom Invite from Bruce Wayne (bruce3)"+ skip "with template modifier" dofab!(:invite)let(:plugin) { Plugin::Instance.new }let(:custom_template) { "plugin_custom_invite_template" }