Skip to content

Commit

Permalink
update tests to include new terms
Browse files Browse the repository at this point in the history
  • Loading branch information
bonniegee committed Dec 13, 2023
1 parent 428925a commit bdfdc8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/search_results_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@
expect(page).to have_css('li .facet-label', text: 'National Library of Medicine. History of Medicine Division', visible: :hidden)
end

within('.blacklight-place') do
expect(page).to have_css('h3 button', text: 'Place')
within('.blacklight-places') do
expect(page).to have_css('h3 button', text: 'Places')
expect(page).to have_css('li .facet-label', text: 'Mindanao Island (Philippines)', visible: :hidden)
expect(page).to have_css('li .facet-label', text: 'Yosemite National Park (Calif.)', visible: :hidden)
end

within('.blacklight-subject') do
expect(page).to have_css('h3 button', text: 'Subject')
within('.blacklight-access_subjects') do
expect(page).to have_css('h3 button', text: 'Subjects')
expect(page).to have_css('li .facet-label', text: 'Slides.', visible: :hidden)
expect(page).to have_css('li .facet-label', text: 'Fraternizing', visible: :hidden)
end
Expand Down

0 comments on commit bdfdc8c

Please sign in to comment.