A platform for community discussion. Free, open, simple.
DEV: Remove social authentication system tests for non full page login (#32433)
Alan Guo Xiang Tand0d755ad8c47
diff --git a/spec/system/social_authentication_spec.rb b/spec/system/social_authentication_spec.rbindex 6456eebb35c..68a9fc4c1cf 100644--- a/spec/system/social_authentication_spec.rb+++ b/spec/system/social_authentication_spec.rb@@ -173,7 +173,6 @@ shared_examples "social authentication scenarios" do |signup_page_object, login_end# These tests use Google, but they should be the same for all providers-context "when opening the external auth from /login" dobefore { SiteSetting.enable_google_oauth2_logins = true }after { reset_omniauth_config(:google_oauth2) }@@ -454,20 +453,6 @@ enddescribe "Social authentication", type: :system dobefore { SiteSetting.full_name_requirement = "optional_at_signup" }- context "when desktop" do- before { SiteSetting.full_page_login = false }- include_examples "social authentication scenarios",- PageObjects::Modals::Signup.new,- PageObjects::Modals::Login.new- end-- context "when mobile", mobile: true do- before { SiteSetting.full_page_login = false }- include_examples "social authentication scenarios",- PageObjects::Modals::Signup.new,- PageObjects::Modals::Login.new- end-context "when fullpage desktop" dobefore { SiteSetting.full_page_login = true }include_examples "social authentication scenarios",