Sha256: 74adb326855199c545397e19fb7dbbea3a35ceb63adce91d7f5427a9a45e6ae5

Contents?: true

Size: 1 KB

Versions: 12

Compression:

Stored size: 1 KB

Contents

# -*- encoding : utf-8 -*-
# deprecated
Then /^I should see the applied filter "([^\"]*)" with the value "([^\"]*)"$/ do |filter, text|
  page.should have_selector(".facet_limit") do |node|
    node.should have_selector("h3", :text => filter)
    node.should have_selector("span.selected", :text => text)
  end
end

Then /^I should see the applied facet "([^\"]*)" with the value "([^\"]*)"$/ do |filter, text|
  page.should have_selector(".facet_limit") do |node|
    node.should have_selector("h3", :text => filter)
    node.should have_selector("span.selected", :text => text)
  end
end

Then /^I should see the facet "([^\"]*)" with the value "([^\"]*)"$/ do |filter, text|
  page.should have_selector(".facet_limit") do |node|
    node.should have_selector("h3", :text => filter)
    node.should have_selector("a.label", :text => text)
  end
end

Then /^the facet "([^\"]+)" should display$/ do |filter|
  page.should have_selector(".facet_limit") do |node|
    node.should have_selector("h3", :text => filter)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-4.3.0 features/step_definitions/search_facets_steps.rb
blacklight-4.2.2 features/step_definitions/search_facets_steps.rb
blacklight-4.2.1 features/step_definitions/search_facets_steps.rb
blacklight-4.2.0 features/step_definitions/search_facets_steps.rb
blacklight-4.1.0 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.1 test_support/features/step_definitions/search_facets_steps.rb
blacklight-3.8.2 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.0 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.0.rc2 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.0.rc1 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.0.pre7 test_support/features/step_definitions/search_facets_steps.rb
blacklight-4.0.0.pre6 test_support/features/step_definitions/search_facets_steps.rb