From c93eac1280c2c1161d53eb4df4c5f286a0cf69ce Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Wed, 17 Jul 2024 22:17:24 -0400 Subject: [PATCH] require 'helpers/system_test_helper' --- test/system/students_test.rb | 5 +---- test/system/theses_test.rb | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/system/students_test.rb b/test/system/students_test.rb index 28b80e8..ddd48da 100644 --- a/test/system/students_test.rb +++ b/test/system/students_test.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'application_system_test_case' -require_relative '../helpers/system_test_helper' +require 'helpers/system_test_helper' class StudentsTest < ApplicationSystemTestCase include SystemTestHelper # Include the SystemTestHelper module here @@ -26,11 +26,8 @@ class StudentsTest < ApplicationSystemTestCase visit root_url fill_in('Non-YorkU Email Address', with: Faker::Internet.email) click_button('Continue') - puts "\nGoing to Update Details\n" click_link('Continue') #update - puts "Going to Upload\n" click_link('Continue') #upload - puts "Going to Review\n" click_link('Continue') #review assert_selector '.alert-warning', text: 'Error: You have to upload a primary file to continue' # page.accept_alert diff --git a/test/system/theses_test.rb b/test/system/theses_test.rb index ee8e87d..22bcc0e 100644 --- a/test/system/theses_test.rb +++ b/test/system/theses_test.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'application_system_test_case' +require 'helpers/system_test_helper' class ThesesTest < ApplicationSystemTestCase setup do