Sha256: c90c79c0224337764a67aed063f08a71c7b34f23666e02bc43aa2c229de08608

Contents?: true

Size: 382 Bytes

Versions: 14

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'Modal' do
  it 'can open and dismiss the email modal', :js do
    visit solr_document_path('2007020969')
    expect(page).to have_no_selector 'dialog#blacklight-modal'
    click_on 'Email'
    expect(page).to have_css 'dialog#blacklight-modal'
    click_on '×'
    expect(page).to have_no_selector 'dialog#blacklight-modal'
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
blacklight-8.8.4 spec/features/modal_spec.rb
blacklight-8.8.3 spec/features/modal_spec.rb
blacklight-8.8.2 spec/features/modal_spec.rb
blacklight-9.0.0.beta1 spec/features/modal_spec.rb
blacklight-8.8.1 spec/features/modal_spec.rb
blacklight-8.8.0 spec/features/modal_spec.rb
blacklight-8.7.0 spec/features/modal_spec.rb
blacklight-8.6.1 spec/features/modal_spec.rb
blacklight-8.6.0 spec/features/modal_spec.rb
blacklight-8.5.1 spec/features/modal_spec.rb
blacklight-8.5.0 spec/features/modal_spec.rb
blacklight-8.4.0 spec/features/modal_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/spec/features/modal_spec.rb
blacklight-8.3.0 spec/features/modal_spec.rb