Sha256: 0e7f9299da920ed9714693d2a4cde5fb0cd95700a07d10a8a24380f541b57794

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

Then /^I (should|should not) see an? "([^\"]*)" element containing "([^\"]*)"$/ do |bool,elem,content|
  if bool == "should"
    page.should have_xpath("//#{elem}[text()='#{content}']")
  else
    page.should have_no_xpath("//#{elem}[text()='#{content}']")
  end
end  

Then /^I should see link rel=alternate tags/ do
  page.should have_selector("link[rel=alternate]")
end

Version data entries

5 entries across 5 versions & 1 rubygems

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