Skip to content

Commit

Permalink
Merge pull request #2982 from projectblacklight/backport-2981
Browse files Browse the repository at this point in the history
Backport #2981
  • Loading branch information
dkinzer committed Feb 3, 2023
2 parents 06ebd6e + 33f7108 commit 8b66cb3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/features/sitelinks_search_box.rb

This file was deleted.

13 changes: 13 additions & 0 deletions spec/features/sitelinks_search_box_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

RSpec.describe 'Sitelinks search box' do
it 'is home page' do
visit root_path
expect(page).to have_selector 'script[type="application/ld+json"]', visible: :hidden
end

it 'on search page' do
visit search_catalog_path q: 'book'
expect(page).not_to have_selector 'script[type="application/ld+json"]', visible: :hidden
end
end

0 comments on commit 8b66cb3

Please sign in to comment.