Sha256: 40dc6abb211db49b2898e66d2192314acfbc39b4ff09fb617b3de4fb34b932bc

Contents?: true

Size: 379 Bytes

Versions: 19

Compression:

Stored size: 379 Bytes

Contents

# 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

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
blacklight-7.40.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.39.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.38.0 spec/features/sitelinks_search_box_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/spec/features/sitelinks_search_box_spec.rb
blacklight-8.2.2 spec/features/sitelinks_search_box_spec.rb
blacklight-8.2.1 spec/features/sitelinks_search_box_spec.rb
blacklight-8.2.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.37.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.36.2 spec/features/sitelinks_search_box_spec.rb
blacklight-7.36.1 spec/features/sitelinks_search_box_spec.rb
blacklight-7.36.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.35.0 spec/features/sitelinks_search_box_spec.rb
blacklight-8.1.0 spec/features/sitelinks_search_box_spec.rb
blacklight-7.34.0 spec/features/sitelinks_search_box_spec.rb
blacklight-8.0.1 spec/features/sitelinks_search_box_spec.rb
blacklight-8.0.0 spec/features/sitelinks_search_box_spec.rb
blacklight-8.0.0.beta8 spec/features/sitelinks_search_box_spec.rb
blacklight-8.0.0.beta7 spec/features/sitelinks_search_box_spec.rb
blacklight-8.0.0.beta6 spec/features/sitelinks_search_box_spec.rb