Sha256: 3fee7112b7f56d5baa2df656cc426d3246df63770a7aaee25b0f12aa2ab42918

Contents?: true

Size: 355 Bytes

Versions: 32

Compression:

Stored size: 355 Bytes

Contents

# Google is too hard to script with Mechanize
# Using a Norewgian search engine instead :-)
Given /^I am on the Kvasir search page$/ do
  visit('http://www.kvasir.no/')
end

When /^I search for "([^\"]*)"$/ do |query|
  fill_in('q', :with => query)
  click_button('sokeKnapp')
end

Then /^I should see$/ do |text|
  response_body.should contain(text)
end

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
cucumber-0.7.0 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.8 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.7 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.6 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.5 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.4 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.3 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.2 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.7.0.beta.1 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.6.4 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.6.3 examples/webrat/features/step_definitions/kvasir_steps.rb
davidtrogers-cucumber-0.6.2 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.6.2 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.6.1 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.6.0 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.5.3 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.5.2 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.5.1 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.5.0 examples/webrat/features/step_definitions/kvasir_steps.rb
cucumber-0.4.5.rc2 examples/webrat/features/step_definitions/kvasir_steps.rb