Sha256: e137f94a1d51069d4cd440e8ee5253457edc2f0faaef3415fb12cd429db634f0

Contents?: true

Size: 1021 Bytes

Versions: 5

Compression:

Stored size: 1021 Bytes

Contents

# 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", :content => filter)
    node.should have_selector("span.selected", :content => 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", :content => filter)
    node.should have_selector("span.selected", :content => 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", :content => filter)
    node.should have_selector("a.label", :content => text)
  end
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-3.0.0pre6 test_support/features/step_definitions/search_facets_steps.rb
blacklight-3.0.0pre4 test_support/features/step_definitions/search_facets_steps.rb
blacklight-3.0.0pre3 test_support/features/step_definitions/search_facets_steps.rb
blacklight-3.0pre2 test_support/features/step_definitions/search_facets_steps.rb
blacklight-3.0pre1 test_app/features/step_definitions/search_facets_steps.rb