Sha256: 3c55f26975a056be4d1e394e9c7e58e72c7ca2644987d47c53e0e239afd204ae

Contents?: true

Size: 328 Bytes

Versions: 13

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

feature 'Sitelinks search box' do
  scenario 'is home page' do
    visit root_path
    expect(page).to have_css 'script[type="application/ld+json"]'
  end
  scenario 'on search page' do
    visit catalog_index_path q: 'book'
    expect(page).to_not have_css 'script[type="application/ld+json"]'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
blacklight-5.19.2 spec/features/sitelinks_search_box.rb
blacklight-5.19.1 spec/features/sitelinks_search_box.rb
blacklight-5.19.0 spec/features/sitelinks_search_box.rb
blacklight-5.18.0 spec/features/sitelinks_search_box.rb
blacklight-5.17.2 spec/features/sitelinks_search_box.rb
blacklight-5.17.1 spec/features/sitelinks_search_box.rb
blacklight-5.17.0 spec/features/sitelinks_search_box.rb
blacklight-5.16.4 spec/features/sitelinks_search_box.rb
blacklight-5.16.3 spec/features/sitelinks_search_box.rb
blacklight-5.16.2 spec/features/sitelinks_search_box.rb
blacklight-5.16.1 spec/features/sitelinks_search_box.rb
blacklight-5.16.0 spec/features/sitelinks_search_box.rb
blacklight-5.15.0 spec/features/sitelinks_search_box.rb