A platform for community discussion. Free, open, simple.
DEV: Remove redundant system spec (#31317)
Penar Musaraje320a375d37a
diff --git a/spec/system/social_authentication_spec.rb b/spec/system/social_authentication_spec.rbindex b0fcdbea32d..1a2cf4821a0 100644--- a/spec/system/social_authentication_spec.rb+++ b/spec/system/social_authentication_spec.rb@@ -314,26 +314,6 @@ shared_examples "social authentication scenarios" do |signup_page_object, login_visit("/login")expect(page).to have_css(".header-dropdown-toggle.current-user")end-- it "works with existing users when auth_immediately is enabled" do- SiteSetting.auth_immediately = false- SiteSetting.login_required = true- mock_google_auth-- visit("/signup")- expect(signup_form).to be_open- expect(signup_form).to have_no_password_input- expect(signup_form).to have_valid_username- expect(signup_form).to have_valid_email- signup_form.click_create_account-- find(".header-dropdown-toggle.current-user").click- find("#user-menu-button-profile").click- find("#quick-access-profile .logout").click- visit("/")- find(".login-welcome .login-button").click- expect(page).to have_css(".header-dropdown-toggle.current-user")- endendit "automatically redirects when using the login button" do