Skip to content

Commit

Permalink
Removing feature tests because it was causing other unrelated failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cgalarza committed Oct 12, 2023
1 parent 93dd2fa commit 76613ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion lib/generators/blacklight/templates/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class <%= controller_name.classify %>Controller < ApplicationController
config.add_facet_field 'lc_1letter_ssim', label: 'Call Number'
config.add_facet_field 'subject_geo_ssim', label: 'Region'
config.add_facet_field 'subject_era_ssim', label: 'Era'
config.add_facet_field 'pub_date_si', label: 'Publication Year Range', range: true
config.add_facet_field 'example_pivot_field', label: 'Pivot Field', pivot: ['format', 'language_ssim'], collapsing: true
Expand Down
10 changes: 0 additions & 10 deletions spec/features/facets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,6 @@
expect(page).to have_css('.constraint-value', text: 'Language Tibetan')
end

it 'is able to display range facet' do
visit root_path

expect(page).to have_selector 'input.range_start'
expect(page).to have_selector 'input.range_end'
expect(page).to have_selector 'label.sr-only[for="range_pub_date_si_start"]', text: 'Publication Date Sort range start'
expect(page).to have_selector 'label.sr-only[for="range_pub_date_si_end"]', text: 'Publication Date Sort range end'
expect(page).to have_button 'Apply'
end

describe 'heading button focus with Firefox' do
it 'changes to the button on button click in Firefox' do
pending 'Capybara::NotSupportedByDriverError: Capybara::Driver::Base#evaluate_script'
Expand Down

0 comments on commit 76613ff

Please sign in to comment.