• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / pdc_discovery / 77aad3ef-33fa-40bd-8e08-da5fca8b87c0

17 Aug 2023 12:03PM UTC coverage: 87.863% (-8.7%) from 96.544%
77aad3ef-33fa-40bd-8e08-da5fca8b87c0

Pull #478

circleci

carolyncole
Switching to selenium to fix CI
Pull Request #478: Switching to selenium to fix CI

2085 of 2373 relevant lines covered (87.86%)

182.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/spec/system/styled_error_pages_spec.rb
1
# frozen_string_literal: true
2

3
describe 'Styled error page', type: :system, js: true do
1✔
4
  around do |example|
1✔
5
    Rails.application.config.consider_all_requests_local = false
2✔
6
    example.run
2✔
7
    Rails.application.config.consider_all_requests_local = true
2✔
8
  end
9

10
  it "renders for Blacklight RecordNotFound exceptions" do
1✔
11
    visit '/catalog/fake_item'
1✔
12
    expect(page).not_to have_content "Blacklight::Exceptions::RecordNotFound"
×
13
    expect(page).to have_content "We're unable to find the page you're looking for"
×
14
  end
15

16
  it "renders for generalized 404 errors" do
1✔
17
    visit '/obviously_fake_url'
1✔
18
    expect(page).to have_content "We're unable to find the page you're looking for"
×
19
  end
20
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc