Sha256: 9fd815d9ac6a729642153cbd57db23d960a723c4e176d5fa7e882b2c47e3a3cd

Contents?: true

Size: 956 Bytes

Versions: 24

Compression:

Stored size: 956 Bytes

Contents

describe "Notifications page", type: :feature do
  before do
    sign_in FactoryGirl.create(:user_with_mail)
    visit "/notifications"
  end

  it "lists notifications with date, subject and message" do
    expect(page).to have_content "User Notifications"
    expect(page.find(:xpath, '//thead/tr')).to have_content "Date"
    expect(page.find(:xpath, '//thead/tr')).to have_content "Subject"
    expect(page.find(:xpath, '//thead/tr')).to have_content "Message"
    expect(page).to have_content "These files could not be updated. You do not have sufficient privileges to edit them. "
    expect(page).to have_content "These files have been saved"
    expect(page).to have_content "File 1 could not be updated. You do not have sufficient privileges to edit it."
    expect(page).to have_content "File 1 has been saved"
    expect(page).to have_content "Batch upload permission denied  "
    expect(page).to have_content "Batch upload complete"
  end
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
sufia-7.4.1 spec/features/notifications_spec.rb
hyrax-1.0.5 spec/features/notifications_spec.rb
sufia-7.4.0 spec/features/notifications_spec.rb
hyrax-1.0.4 spec/features/notifications_spec.rb
hyrax-1.0.3 spec/features/notifications_spec.rb
hyrax-1.0.2 spec/features/notifications_spec.rb
hyrax-1.0.1 spec/features/notifications_spec.rb
hyrax-1.0.0.rc2 spec/features/notifications_spec.rb
sufia-7.3.1 spec/features/notifications_spec.rb
hyrax-1.0.0.rc1 spec/features/notifications_spec.rb
sufia-7.3.0 spec/features/notifications_spec.rb
sufia-7.3.0.rc3 spec/features/notifications_spec.rb
sufia-7.3.0.rc2 spec/features/notifications_spec.rb
sufia-7.3.0.rc1 spec/features/notifications_spec.rb
test_hyrax-0.0.1.alpha spec/features/notifications_spec.rb
sufia-7.2.0 spec/features/notifications_spec.rb
sufia-7.1.0 spec/features/notifications_spec.rb
sufia-7.0.0 spec/features/notifications_spec.rb
sufia-7.0.0.rc2 spec/features/notifications_spec.rb
sufia-7.0.0.rc1 spec/features/notifications_spec.rb