Sha256: b26ef28bf8a54bdbe44fc9b3e0d231a3364d24d89c839fbb4b6913ab19b31050

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blacklight-8.6.1 spec/features/sitelinks_search_box_spec.rb
blacklight-8.6.0 spec/features/sitelinks_search_box_spec.rb
blacklight-8.5.1 spec/features/sitelinks_search_box_spec.rb
blacklight-8.5.0 spec/features/sitelinks_search_box_spec.rb
blacklight-8.4.0 spec/features/sitelinks_search_box_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/spec/features/sitelinks_search_box_spec.rb
blacklight-8.3.0 spec/features/sitelinks_search_box_spec.rb