Sha256: bb9f4d8d7bbaf2445b4d9a92de6870aaed88d282ffac761b2a0c418cbfb83ece

Contents?: true

Size: 466 Bytes

Versions: 14

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

feature 'Search' do
  scenario 'Suppressed records are hidden' do
    visit '/?q=Sanborn+Map+Company'
    expect(page).to have_css '.document', count: 1
  end

  scenario 'When searching child records from a parent record, supressed records are not hidden', js: true do
    visit '/catalog/princeton-1r66j405w'
    click_link 'Browse all 4 records...'
    expect(page).to have_css '.document', count: 4
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 spec/features/search_spec.rb
geoblacklight-3.8.0 spec/features/search_spec.rb
geoblacklight-3.7.0 spec/features/search_spec.rb
geoblacklight-3.6.0 spec/features/search_spec.rb
geoblacklight-3.5.0 spec/features/search_spec.rb
geoblacklight-4.0.0.pre.alpha.1 spec/features/search_spec.rb
geoblacklight-4.0.0.pre.alpha spec/features/search_spec.rb
geoblacklight-3.4.0 spec/features/search_spec.rb
geoblacklight-3.3.1 spec/features/search_spec.rb
geoblacklight-3.3.0 spec/features/search_spec.rb
geoblacklight-3.2.0 spec/features/search_spec.rb
geoblacklight-3.1.0 spec/features/search_spec.rb
geoblacklight-3.0.1 spec/features/search_spec.rb
geoblacklight-3.0.0 spec/features/search_spec.rb