Skip to content

Commit

Permalink
move from debug text to assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
DanOlson committed Nov 18, 2024
1 parent 1266e96 commit 0d73ac2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/features/search_by_mdl_identifier_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d73ac2

Please sign in to comment.