Sha256: 90f55fc9ff5918265c93fe880e6091c6e3e9e3feed8af3d95527a97315525e06

Contents?: true

Size: 456 Bytes

Versions: 11

Compression:

Stored size: 456 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
    within("[data-icon='add']") do
      expect(page).not_to have_css("[data-type='search_results']", visible: true)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-spotlight-0.24.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.23.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.22.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.21.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.20.3 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.20.2 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.20.1 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.20.0 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.19.2 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.19.1 spec/features/javascript/home_page_edit_spec.rb
blacklight-spotlight-0.19.0 spec/features/javascript/home_page_edit_spec.rb