Sha256: fe38f7f39ded0e9ba82843d9f75e8c96f46d1df4ad3f1dd4293c32ae82474096

Contents?: true

Size: 400 Bytes

Versions: 39

Compression:

Stored size: 400 Bytes

Contents

# -*- encoding : utf-8 -*-
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

39 entries across 39 versions & 2 rubygems

Version Path
blacklight-4.3.0 features/step_definitions/record_view_steps.rb
blacklight-4.2.2 features/step_definitions/record_view_steps.rb
blacklight-4.2.1 features/step_definitions/record_view_steps.rb
blacklight-4.2.0 features/step_definitions/record_view_steps.rb
blacklight-4.1.0 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.1 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.8.2 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.0 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.0.rc2 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.0.rc1 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.0.pre7 test_support/features/step_definitions/record_view_steps.rb
blacklight-4.0.0.pre6 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.8.1 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.8.0 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.7.2 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.7.1 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.7.0 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.6.1.1 test_support/features/step_definitions/record_view_steps.rb
blacklight-3.6.0 test_support/features/step_definitions/record_view_steps.rb
atrium-0.0.1 test_support/features/step_definitions/record_view_steps.rb