Skip to content

Commit

Permalink
antifragle changes to contribution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rawOrlando committed Jul 19, 2024
1 parent 25710bb commit 81f0a5e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/features/contribute/graduate_school_arts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end
scenario do
visit '/contribute'
find('#deposit_type').find(:xpath, 'option[7]').select_option
select 'Graduate School of Arts and Sciences Education Qualifying Papers', from: 'deposit_type'
click_button 'Begin'
attach_file('PDF to upload', pdf_path)
fill_in 'Title', with: FFaker::Book.title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end
scenario do
visit '/contribute'
find('#deposit_type').find(:xpath, 'option[7]').select_option
select 'Masters in Animal and Public Policy', from: 'deposit_type'
click_button 'Begin'
attach_file('PDF to upload', pdf_path)
fill_in 'Title', with: FFaker::Book.title
Expand Down
2 changes: 1 addition & 1 deletion spec/features/contribute/phpd_capstone_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end
scenario do
visit '/contribute'
find('#deposit_type').find(:xpath, 'option[9]').select_option
select 'PHPD Field Experience/Capstone', from: 'deposit_type'
click_button 'Begin'
attach_file('PDF to upload', pdf_path)
fill_in 'Capstone Project Title', with: FFaker::Book.title
Expand Down
2 changes: 1 addition & 1 deletion spec/features/contribute/tish_library_reward_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

scenario do
visit '/contribute'
find('#deposit_type').find(:xpath, 'option[10]').select_option
select 'Tisch Library Undergraduate Research Award', from: 'deposit_type'
click_button 'Begin'
attach_file('PDF to upload', pdf_path)
fill_in 'Title', with: FFaker::Book.title
Expand Down
2 changes: 1 addition & 1 deletion spec/features/contribute/undergrad_summer_scholars_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end
scenario do
visit '/contribute'
find('#deposit_type').find(:xpath, 'option[12]').select_option
select 'Undergraduate Summer Scholars', from: 'deposit_type'
click_button 'Begin'
attach_file('PDF to upload', pdf_path)
fill_in 'Title', with: FFaker::Book.title
Expand Down

0 comments on commit 81f0a5e

Please sign in to comment.