Sha256: f0e4d9d433cb85256e437abb08b40f1cf71d04add199ecb7b472073ecdfb035a

Contents?: true

Size: 466 Bytes

Versions: 14

Compression:

Stored size: 466 Bytes

Contents

require 'spec_helper'

describe "Slideshow", :js, :type => :feature do

  it "should open when one of the grid panes are clicked" do
    pending 'flappy test'
    visit search_catalog_path( :q => 'medicine', :view => 'slideshow' )
    expect(page).to have_content "You searched for:"
    within ".view-type" do
      click_link "Slideshow"
    end

    find('.grid [data-slide-to="0"]').click
    expect(page).to have_selector '#slideshow', visible: true
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
blacklight-gallery-2.1.0 spec/features/slideshow_spec.rb
blacklight-gallery-2.0.2 spec/features/slideshow_spec.rb
blacklight-gallery-2.0.1 spec/features/slideshow_spec.rb
blacklight-gallery-2.0.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.7.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.6.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.5.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.4.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.3.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.2.1 spec/features/slideshow_spec.rb
blacklight-gallery-1.2.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.1.1 spec/features/slideshow_spec.rb
blacklight-gallery-1.1.0 spec/features/slideshow_spec.rb
blacklight-gallery-1.0.0 spec/features/slideshow_spec.rb