diff --git a/spec/features/search_by_mdl_identifier_spec.rb b/spec/features/search_by_mdl_identifier_spec.rb index cfafc647..42200d95 100644 --- a/spec/features/search_by_mdl_identifier_spec.rb +++ b/spec/features/search_by_mdl_identifier_spec.rb @@ -10,8 +10,10 @@ click_on 'Search' result_link = find_link('A Statewide Movement for the Collection and Preservation of Minnesota\'s War Records') result_link.click - puts "~~~~~~~~ current_path: #{current_path} ~~~~~~~~~" - puts "all .autocompleteText nodes: #{all('.autocompleteText').map(&:value)}" + + expect(current_path).to eq('spl:3207') + expect(all('.autocompleteText')).to have_size(1) + page_input = page.find('.autocompleteText') expect(page_input.value).to eq('9') end