Sha256: 70ff166b1202c3850b84e7a76b6615a797368275fd458cf7ea1dcac0a1ffaa96
Contents?: true
Size: 650 Bytes
Versions: 9
Compression:
Stored size: 650 Bytes
Contents
describe 'Slideshow', type: :feature, js: true do let(:exhibit) { FactoryBot.create(:exhibit) } let(:user) { FactoryBot.create(:exhibit_admin, exhibit: exhibit) } before do login_as user exhibit.blacklight_configuration.update(document_index_view_types: %w(list gallery slideshow)) end it 'has slideshow' do visit spotlight.search_exhibit_catalog_path(exhibit, f: { genre_ssim: ['map'] }) expect(page).to have_content 'You searched for:' within '.view-type' do click_link 'Slideshow' end find('.grid [data-slide-to="1"] img').click expect(page).to have_selector '#slideshow', visible: true end end
Version data entries
9 entries across 9 versions & 1 rubygems