A platform for community discussion. Free, open, simple.
DEV: Remove assertion causing test to flake. (#31946)
Alan Guo Xiang Tan3df592a43e3a
diff --git a/spec/system/email_change_spec.rb b/spec/system/email_change_spec.rbindex dad00155a66..1d58cee8f00 100644--- a/spec/system/email_change_spec.rb+++ b/spec/system/email_change_spec.rb@@ -64,7 +64,6 @@ describe "Changing email", type: :system dofind(".second-factor-token-input").fill_in with: second_factor.totp_object.nowfind("button[type=submit]").click- expect(page).to have_content(I18n.t("js.second_factor_auth.redirect_after_success"))expect(page).to have_current_path("/u/#{user.username}/preferences/account")expect(user_preferences_page).to have_primary_email(new_email)end