Sha256: 6bdce72a49c98914ccd8db75fb12e88174993fd2e1cd899aa20921a96aa6e4c6

Contents?: true

Size: 487 Bytes

Versions: 11

Compression:

Stored size: 487 Bytes

Contents

feature 'Editing the Home Page', js: true do
  let(:exhibit) { FactoryGirl.create(:exhibit) }
  let(:admin) { FactoryGirl.create(:exhibit_admin, exhibit: exhibit) }

  before { login_as admin }

  it 'does not have a search results widget' do
    visit spotlight.edit_exhibit_home_page_path(exhibit)
    click_add_widget
    expect(page).to have_css("[data-type='solr_documents']", visible: true)
    expect(page).not_to have_css("[data-type='search_results']", visible: true)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-spotlight-0.30.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.29.1 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.29.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.28.3 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.28.2 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.28.1 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.28.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.27.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.26.1 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.26.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.25.0 spec/features/javascript/home_page_edit_spec.rb