Sha256: 985552a0ebbfbc689529883fe449332a52a4759a6526ca005bb8bf30ea748166

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
blacklight-8.2.2 spec/features/modal_spec.rb
blacklight-8.2.1 spec/features/modal_spec.rb
blacklight-8.2.0 spec/features/modal_spec.rb
blacklight-8.1.0 spec/features/modal_spec.rb
blacklight-8.0.1 spec/features/modal_spec.rb
blacklight-8.0.0 spec/features/modal_spec.rb
blacklight-8.0.0.beta8 spec/features/modal_spec.rb
blacklight-8.0.0.beta7 spec/features/modal_spec.rb
blacklight-8.0.0.beta6 spec/features/modal_spec.rb
blacklight-8.0.0.beta5 spec/features/modal_spec.rb