From 9be44ae7cdd5a552f70511fc269e943337ce9eee Mon Sep 17 00:00:00 2001 From: shaun <58957909+shaun-technovation@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:38:44 -0600 Subject: [PATCH] Chore: Remove old mentor signup specs We aren't using the old signup flow anymore, so this specs aren't needed now. Refs: #3859 --- spec/system/mentor/signup_spec.rb | 59 ------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 spec/system/mentor/signup_spec.rb diff --git a/spec/system/mentor/signup_spec.rb b/spec/system/mentor/signup_spec.rb deleted file mode 100644 index 96b1185c70..0000000000 --- a/spec/system/mentor/signup_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -require "rails_helper" - -RSpec.xdescribe "Mentors signing up", :js do - describe "authenticating" do - it "logs in okay with the email / password used during signup" do - SeasonToggles.enable_signup(:mentor) - expertise = FactoryBot.create(:expertise) - - visit root_path - click_link "Sign up today" - - check "I agree" - click_button "Next" - - fill_in "State / Province", with: "California" - fill_in "City", with: "Los Angeles" - fill_in "Country", with: "United States" - - click_button "Next" - click_button "Confirm" - - fill_in_vue_select "Year", with: Season.current.year - 21 - fill_in_vue_select "Month", with: "1" - fill_in_vue_select "Day", with: "1" - click_button "Next" - - # Choose Profile: Mentor (auto) - click_button "Next" - - fill_in "First name(s)", with: "Marge" - fill_in "Last name(s)", with: "Bouvier" - fill_in_vue_select "Gender identity", with: "Female" - fill_in_vue_select "School or company name", with: "Springfield Nuclear Power Plant" - fill_in "Job title", with: "Saftey inspector" - - fill_in_vue_select "As a mentor, you may call me a(n)...", - with: "Industry professional" - fill_in "Tell the students about yourself", with: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa." - - check expertise.name - - click_button "Next" - - stub_mailgun_validation(valid: true, email: "margeyb@springfield.net") - - fill_in "Email", with: "margeyb@springfield.net" - fill_in "Password", with: "margeysecret1234" - click_button "Next" - - click_link "Logout" - - fill_in "Email", with: "margeyb@springfield.net" - fill_in "Password", with: "margeysecret1234" - click_button "Sign in" - - expect(current_path).to eq(mentor_dashboard_path) - end - end -end