From 76613ff71b60be34ab299ef1869a3dd586d18b0e Mon Sep 17 00:00:00 2001 From: Carla Galarza Date: Thu, 12 Oct 2023 11:49:12 -0400 Subject: [PATCH] Removing feature tests because it was causing other unrelated failures --- .../blacklight/templates/catalog_controller.rb | 1 - spec/features/facets_spec.rb | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/lib/generators/blacklight/templates/catalog_controller.rb b/lib/generators/blacklight/templates/catalog_controller.rb index b6d2be70a6..526e49708e 100644 --- a/lib/generators/blacklight/templates/catalog_controller.rb +++ b/lib/generators/blacklight/templates/catalog_controller.rb @@ -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 diff --git a/spec/features/facets_spec.rb b/spec/features/facets_spec.rb index 1d42522a11..842fd71cbf 100644 --- a/spec/features/facets_spec.rb +++ b/spec/features/facets_spec.rb @@ -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'